From 8c6fe60e125dd4019eb0007a1c84c86fc1a03e7e Mon Sep 17 00:00:00 2001 From: Paul Seiffert Date: Wed, 30 May 2018 09:56:56 +0200 Subject: [PATCH 1/8] Rename S3 logging test case --- .../TestFastlyCacheSettings_tearDown.yml | 51 +- ...cheSettings_test_fastly_cache_settings.yml | 417 ++++++------- ...test_fastly_cache_settings_with_action.yml | 282 +++++---- ...astly_cache_settings_without_stale_ttl.yml | 345 ++++++----- .../TestFastlyCondition_tearDown.yml | 46 +- ...yCondition_test_fastly_cache_condition.yml | 299 +++++---- ...ondition_test_fastly_request_condition.yml | 248 ++++---- .../TestFastlyDirectors_tearDown.yml | 47 +- ..._test_fastly_director_with_one_backend.yml | 360 +++++------ .../cassettes/TestFastlyGzip_tearDown.yml | 50 +- .../TestFastlyGzip_test_fastly_gzip.yml | 253 ++++---- .../TestFastlyHealthchecks_tearDown.yml | 53 +- ...yHealthchecks_test_fastly_healthchecks.yml | 367 ++++++----- ...n.yml => TestFastlyLoggingS3_tearDown.yml} | 47 +- ...> TestFastlyLoggingS3_test_fastly_s3s.yml} | 344 +++++------ ...astlyLoggingS3_test_fastly_s3s_remove.yml} | 267 ++++---- .../TestFastlyRequestSetting_tearDown.yml | 52 +- ...g_test_fastly_request_setting_defaults.yml | 309 +++++----- ...y_response_object_content_content_type.yml | 294 ++++----- .../TestFastlyResponseObject_tearDown.yml | 47 +- ...y_response_object_content_content_type.yml | 268 ++++---- ...t_test_fastly_response_object_defaults.yml | 294 ++++----- .../cassettes/TestFastlySettings_tearDown.yml | 54 +- ...estFastlySettings_test_fastly_settings.yml | 293 ++++----- .../TestFastlyVclSnippets_tearDown.yml | 55 +- ...tly_vcl_snippets_deliver_stale_content.yml | 373 ++++++------ tests/fixtures/cassettes/tearDown | 44 +- .../test_fastly_backend_empty_ssl_ca_cert | 252 ++++---- .../test_fastly_backend_port_not_required | 234 +++---- .../cassettes/test_fastly_backend_weight_even | 270 ++++----- .../test_fastly_domain_comment_not_required | 265 ++++---- .../test_fastly_header_action_not_required | 284 ++++----- ...t_fastly_header_ignore_if_set_not_required | 33 +- .../test_fastly_header_priority_not_required | 32 +- .../cassettes/test_service_does_exist | 570 +++++++++--------- ...exist_and_activate_new_version_is_disabled | 295 +++++---- ...vice_does_exist_and_configuration_is_equal | 319 +++++----- ...equal_and_activate_new_version_is_disabled | 67 +- .../cassettes/test_service_does_not_exist | 283 +++++---- ...exist_and_activate_new_version_is_disabled | 265 ++++---- ...astly_s3s.py => test_fastly_logging_s3.py} | 2 +- 41 files changed, 4320 insertions(+), 4410 deletions(-) rename tests/fixtures/cassettes/{TestFastlyS3s_tearDown.yml => TestFastlyLoggingS3_tearDown.yml} (64%) rename tests/fixtures/cassettes/{TestFastlyS3s_test_fastly_s3s.yml => TestFastlyLoggingS3_test_fastly_s3s.yml} (68%) rename tests/fixtures/cassettes/{TestFastlyS3s_test_fastly_s3s_remove.yml => TestFastlyLoggingS3_test_fastly_s3s_remove.yml} (69%) rename tests/{test_fastly_s3s.py => test_fastly_logging_s3.py} (98%) diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml index d1c7b3a..c75a402 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml @@ -6,82 +6,81 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":""}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH"}'} + 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"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['918'] + content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:11 GMT'] + date: ['Wed, 30 May 2018 07:46:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630191.996520,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666389.410069,VS0,VE142'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/details + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","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\" + 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\" 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 - 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-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","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\" + 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\" 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 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4425'] + content-length: ['4193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:11 GMT'] + date: ['Wed, 30 May 2018 07:46:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630191.216085,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666390.610238,VS0,VE377'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/deactivate + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}'} + 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}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:11 GMT'] - fastly-ratelimit-remaining: ['956'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:30 GMT'] + fastly-ratelimit-remaining: ['673'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630191.399244,VS0,VE547'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666390.048023,VS0,VE482'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +89,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:12 GMT'] - fastly-ratelimit-remaining: ['955'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:31 GMT'] + fastly-ratelimit-remaining: ['672'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630192.028156,VS0,VE389'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666391.598323,VS0,VE469'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml index 4fe9a6b..3e6faf7 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml @@ -6,106 +6,105 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:39:06Z","active":true,"number":2,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:39:00Z","comment":""}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH"}'} + body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load + service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:57 GMT'] - status: [200 OK] + date: ['Wed, 30 May 2018 07:46:18 GMT'] + status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630177.294302,VS0,VE402'] - status: {code: 200, message: OK} + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666378.231585,VS0,VE165'] + status: {code: 404, message: Not Found} - request: - body: null + body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' headers: Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/details + method: POST + uri: https://api.fastly.com/service response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:06Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:39:06Z","active":true,"number":2,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:39:00Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - 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 - 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-29T21:39:06Z","active":true,"number":2,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:39:00Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - 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 - 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}}}'} + body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly + Ansible Module Test","publish_key":"82694e15a19a8bea2ba39779320a9cf59d53eb74","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}],"deleted_at":null,"created_at":"2018-05-30T07:46:18Z","comment":"","updated_at":"2018-05-30T07:46:18Z","id":"4CK5APhrRbVyon7iGN64VZ"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3993'] + content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:58 GMT'] + date: ['Wed, 30 May 2018 07:46:18 GMT'] + fastly-ratelimit-remaining: ['682'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630178.796532,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666378.455451,VS0,VE442'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/2/clone + method: GET + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/details response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:06Z","deployed":false}'} + 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}],"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:18Z","active":false,"number":1,"service_id":"4CK5APhrRbVyon7iGN64VZ","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:46:18Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['232'] + content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:58 GMT'] - fastly-ratelimit-remaining: ['968'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630178.288710,VS0,VE283'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666379.960583,VS0,VE494'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/domain + method: PUT + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/1/clone response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","created_at":"2018-05-29T21:39:03Z","comment":"","updated_at":"2018-05-29T21:39:03Z"}]'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"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}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['181'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:59 GMT'] + date: ['Wed, 30 May 2018 07:46:20 GMT'] + fastly-ratelimit-remaining: ['681'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630179.646402,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666380.512085,VS0,VE533'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/healthcheck + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:59 GMT'] + date: ['Wed, 30 May 2018 07:46:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630179.129173,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666380.103915,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/condition + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -139,45 +138,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:59 GMT'] + date: ['Wed, 30 May 2018 07:46:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630180.571617,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666380.285006,VS0,VE405'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/backend + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/condition response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:39:04Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:39:04Z","comment":""}]'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['718'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:00 GMT'] + date: ['Wed, 30 May 2018 07:46:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630180.015519,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666381.754534,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/director + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:01 GMT'] + date: ['Wed, 30 May 2018 07:46:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630181.511347,VS0,VE942'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666381.945502,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/cache_settings + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:01 GMT'] + date: ['Wed, 30 May 2018 07:46:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630182.527026,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666381.132755,VS0,VE387'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/gzip + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -235,46 +234,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:02 GMT'] + date: ['Wed, 30 May 2018 07:46:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630182.979240,VS0,VE374'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666382.580459,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/header + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/gzip response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"5RPRT0ug3oh6PWUBXrjSAH","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:39:04Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:39:04Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['415'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:02 GMT'] + date: ['Wed, 30 May 2018 07:46:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630182.424089,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666382.765805,VS0,VE406'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/request_settings + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -284,46 +282,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:02 GMT'] + date: ['Wed, 30 May 2018 07:46:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630183.615324,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666382.235638,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/response_object + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/request_settings response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","cache_condition":"","created_at":"2018-05-29T21:39:05Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:39:05Z"}]'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['280'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:03 GMT'] + date: ['Wed, 30 May 2018 07:46:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630183.064580,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666382.420092,VS0,VE387'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/snippet + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:03 GMT'] + date: ['Wed, 30 May 2018 07:46:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630183.257873,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666383.415518,VS0,VE408'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/logging/s3 + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -357,139 +354,63 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:03 GMT'] + date: ['Wed, 30 May 2018 07:46:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630184.695888,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666384.881846,VS0,VE399'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/domain/example8000.com - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:04 GMT'] - fastly-ratelimit-remaining: ['967'] - fastly-ratelimit-reset: ['1527631200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630184.890099,VS0,VE416'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/backend/localhost - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:04 GMT'] - fastly-ratelimit-remaining: ['966'] - fastly-ratelimit-reset: ['1527631200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630184.379779,VS0,VE426'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/header/Set%20Location%20header - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:05 GMT'] - fastly-ratelimit-remaining: ['965'] - fastly-ratelimit-reset: ['1527631200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630185.882794,VS0,VE412'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/response_object/Set%20200%20status%20code + method: GET + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/logging/s3 response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['15'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:05 GMT'] - fastly-ratelimit-remaining: ['964'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630185.369529,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666384.337360,VS0,VE118'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/domain + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":3,"deleted_at":null,"created_at":"2018-05-29T21:43:06Z","updated_at":"2018-05-29T21:43:06Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4CK5APhrRbVyon7iGN64VZ","version":2,"deleted_at":null,"created_at":"2018-05-30T07:46:24Z","updated_at":"2018-05-30T07:46:24Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:06 GMT'] - fastly-ratelimit-remaining: ['963'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:24 GMT'] + fastly-ratelimit-remaining: ['680'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630186.873248,VS0,VE436'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666385.514657,VS0,VE207'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -500,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/backend + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:06Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:06Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"4CK5APhrRbVyon7iGN64VZ","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:46:25Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:46:25Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:06 GMT'] - fastly-ratelimit-remaining: ['962'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:25 GMT'] + fastly-ratelimit-remaining: ['679'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630186.385770,VS0,VE476'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666385.782060,VS0,VE491'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": null, "stale_ttl": 10, "name": "cache-settings-config-name", @@ -526,25 +447,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/cache_settings + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/cache_settings response: - body: {string: !!python/unicode '{"action":null,"stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-05-29T21:43:07Z","updated_at":"2018-05-29T21:43:07Z"}'} + body: {string: !!python/unicode '{"action":null,"stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"4CK5APhrRbVyon7iGN64VZ","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-30T07:46:25Z","updated_at":"2018-05-30T07:46:25Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['240'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:07 GMT'] - fastly-ratelimit-remaining: ['961'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:25 GMT'] + fastly-ratelimit-remaining: ['678'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630187.937021,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666385.336019,VS0,VE454'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -554,26 +475,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/header + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":"3","updated_at":"2018-05-29T21:43:07Z","deleted_at":null,"created_at":"2018-05-29T21:43:07Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"4CK5APhrRbVyon7iGN64VZ","version":"2","updated_at":"2018-05-30T07:46:26Z","deleted_at":null,"created_at":"2018-05-30T07:46:26Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:07 GMT'] - fastly-ratelimit-remaining: ['960'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:26 GMT'] + fastly-ratelimit-remaining: ['677'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630187.407323,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666386.854152,VS0,VE479'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -581,87 +502,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/response_object + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:08Z","updated_at":"2018-05-29T21:43:08Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"4CK5APhrRbVyon7iGN64VZ","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:46:26Z","updated_at":"2018-05-30T07:46:26Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:08 GMT'] - fastly-ratelimit-remaining: ['959'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:26 GMT'] + fastly-ratelimit-remaining: ['676'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630188.911529,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666386.393859,VS0,VE440'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/settings + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"5RPRT0ug3oh6PWUBXrjSAH"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4CK5APhrRbVyon7iGN64VZ"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:08 GMT'] - fastly-ratelimit-remaining: ['958'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:27 GMT'] + fastly-ratelimit-remaining: ['675'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630188.389108,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666387.894797,VS0,VE504'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/activate + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:08Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"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:26Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:09 GMT'] - fastly-ratelimit-remaining: ['957'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:28 GMT'] + fastly-ratelimit-remaining: ['674'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630189.594701,VS0,VE1191'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666387.460137,VS0,VE768'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/details + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","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\" + 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\" 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 - 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-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","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\" + 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\" 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 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}}}'} headers: @@ -669,16 +590,16 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4425'] + content-length: ['4193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:10 GMT'] + date: ['Wed, 30 May 2018 07:46:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630190.860836,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666388.289013,VS0,VE198'] status: {code: 200, message: OK} - request: body: null @@ -687,33 +608,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":""}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH"}'} + 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"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['918'] + content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:10 GMT'] + date: ['Wed, 30 May 2018 07:46:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630190.076405,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666389.544850,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/details + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","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\" + 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\" 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 - 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-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","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\" + 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\" 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 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}}}'} headers: @@ -721,27 +642,27 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4425'] + content-length: ['4193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:10 GMT'] + date: ['Wed, 30 May 2018 07:46:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630191.593971,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666389.020875,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/details + uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","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\" + 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\" 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 - 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-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","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\" + 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\" 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 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}}}'} headers: @@ -749,15 +670,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4425'] + content-length: ['4193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:10 GMT'] + date: ['Wed, 30 May 2018 07:46:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630191.787009,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666389.203149,VS0,VE123'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml index c1b757a..9ad7722 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:12 GMT'] + date: ['Wed, 30 May 2018 07:46:31 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630193.509213,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666391.136632,VS0,VE121'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"7c898e2ffb971351353c684893809007f4235f34","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:43:13Z","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + Ansible Module Test","publish_key":"45fd4839538987bca70ceb2aa8e00a373567b122","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:46:31Z","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:13 GMT'] - fastly-ratelimit-remaining: ['954'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:31 GMT'] + fastly-ratelimit-remaining: ['671'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630193.702191,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666391.317956,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:13Z","active":false,"number":1,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:43:13Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:31Z","active":false,"number":1,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:46:31Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:13 GMT'] + date: ['Wed, 30 May 2018 07:46:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630193.257057,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666392.533810,VS0,VE487'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/1/clone + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:14 GMT'] - fastly-ratelimit-remaining: ['953'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:32 GMT'] + fastly-ratelimit-remaining: ['670'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630194.769556,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666392.079707,VS0,VE522'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/domain + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:14 GMT'] + date: ['Wed, 30 May 2018 07:46:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630194.290587,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666393.659733,VS0,VE387'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/healthcheck + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:15 GMT'] + date: ['Wed, 30 May 2018 07:46:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630195.726105,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666393.107532,VS0,VE458'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/condition + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:15 GMT'] + date: ['Wed, 30 May 2018 07:46:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630195.158800,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666394.626504,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/backend + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:15 GMT'] + date: ['Wed, 30 May 2018 07:46:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630196.610762,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666394.816673,VS0,VE175'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/director + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:16 GMT'] + date: ['Wed, 30 May 2018 07:46:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630196.052901,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666394.050927,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/cache_settings + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:16 GMT'] + date: ['Wed, 30 May 2018 07:46:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630196.244778,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666394.236750,VS0,VE395'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/gzip + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:16 GMT'] + date: ['Wed, 30 May 2018 07:46:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630196.434761,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666395.690095,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/header + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:16 GMT'] + date: ['Wed, 30 May 2018 07:46:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630197.625886,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666395.875556,VS0,VE165'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/request_settings + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:16 GMT'] + date: ['Wed, 30 May 2018 07:46:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630197.849942,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666395.103192,VS0,VE165'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/response_object + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:17 GMT'] + date: ['Wed, 30 May 2018 07:46:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630197.044051,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666395.326343,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/snippet + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:17 GMT'] + date: ['Wed, 30 May 2018 07:46:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630198.534183,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666396.551143,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/logging/s3 + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,39 +378,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:17 GMT'] + date: ['Wed, 30 May 2018 07:46:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630198.719993,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666396.036816,VS0,VE128'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/domain + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2ElZpLWBqaLapYb4nPpjID","version":2,"deleted_at":null,"created_at":"2018-05-29T21:43:18Z","updated_at":"2018-05-29T21:43:18Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":2,"deleted_at":null,"created_at":"2018-05-30T07:46:36Z","updated_at":"2018-05-30T07:46:36Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:18 GMT'] - fastly-ratelimit-remaining: ['952'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:36 GMT'] + fastly-ratelimit-remaining: ['669'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630198.913100,VS0,VE455'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666396.225188,VS0,VE477'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -421,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/backend + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:18Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:18Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:46:37Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:46:37Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:18 GMT'] - fastly-ratelimit-remaining: ['951'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:37 GMT'] + fastly-ratelimit-remaining: ['668'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630198.444695,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666397.761644,VS0,VE444'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": "pass", "stale_ttl": 10, "name": "cache-settings-config-name", @@ -447,25 +447,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/cache_settings + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/cache_settings response: - body: {string: !!python/unicode '{"action":"pass","stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-29T21:43:19Z","updated_at":"2018-05-29T21:43:19Z"}'} + body: {string: !!python/unicode '{"action":"pass","stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-30T07:46:37Z","updated_at":"2018-05-30T07:46:37Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['242'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:19 GMT'] - fastly-ratelimit-remaining: ['950'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:37 GMT'] + fastly-ratelimit-remaining: ['667'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630199.932194,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666397.265975,VS0,VE452'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -475,26 +475,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/header + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":"2","updated_at":"2018-05-29T21:43:19Z","deleted_at":null,"created_at":"2018-05-29T21:43:19Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"2","updated_at":"2018-05-30T07:46:38Z","deleted_at":null,"created_at":"2018-05-30T07:46:38Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:19 GMT'] - fastly-ratelimit-remaining: ['949'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:38 GMT'] + fastly-ratelimit-remaining: ['666'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630199.148569,VS0,VE149'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666398.781456,VS0,VE443'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -502,87 +502,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/response_object + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:19Z","updated_at":"2018-05-29T21:43:19Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:46:38Z","updated_at":"2018-05-30T07:46:38Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:19 GMT'] - fastly-ratelimit-remaining: ['948'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:38 GMT'] + fastly-ratelimit-remaining: ['665'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630199.372114,VS0,VE389'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666398.287678,VS0,VE424'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/settings + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4QTALGNdYy2aTC1pf08MkQ"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:20 GMT'] - fastly-ratelimit-remaining: ['947'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:38 GMT'] + fastly-ratelimit-remaining: ['664'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630200.838435,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666399.771730,VS0,VE214'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/activate + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:19Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:38Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:20 GMT'] - fastly-ratelimit-remaining: ['946'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:40 GMT'] + fastly-ratelimit-remaining: ['663'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630200.332424,VS0,VE650'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666399.050252,VS0,VE970'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:39Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -592,14 +592,14 @@ interactions: connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:21 GMT'] + date: ['Wed, 30 May 2018 07:46:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630201.057266,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666400.076084,VS0,VE228'] status: {code: 200, message: OK} - request: body: null @@ -608,33 +608,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:21 GMT'] + date: ['Wed, 30 May 2018 07:46:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630201.278349,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666400.367653,VS0,VE183'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:39Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -644,41 +643,40 @@ interactions: connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:21 GMT'] + date: ['Wed, 30 May 2018 07:46:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630201.495782,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666401.607431,VS0,VE162'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:39Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:21 GMT'] + date: ['Wed, 30 May 2018 07:46:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630202.728371,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666401.827745,VS0,VE401'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml index 8e93f40..e1b685c 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml @@ -6,33 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:22 GMT'] + date: ['Wed, 30 May 2018 07:46:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630202.982744,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666401.354040,VS0,VE145'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:39Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -42,48 +41,48 @@ interactions: connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:22 GMT'] + date: ['Wed, 30 May 2018 07:46:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630202.200126,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666402.557486,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/clone + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:39Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:22 GMT'] - fastly-ratelimit-remaining: ['945'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:42 GMT'] + fastly-ratelimit-remaining: ['662'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630202.382328,VS0,VE455'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666402.738725,VS0,VE273'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/domain + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","created_at":"2018-05-29T21:43:18Z","comment":"","updated_at":"2018-05-29T21:43:18Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","created_at":"2018-05-30T07:46:36Z","comment":"","updated_at":"2018-05-30T07:46:36Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:23 GMT'] + date: ['Wed, 30 May 2018 07:46:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630203.913589,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666402.069674,VS0,VE163'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/healthcheck + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:23 GMT'] + date: ['Wed, 30 May 2018 07:46:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630203.100291,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666402.292548,VS0,VE163'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/condition + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:23 GMT'] + date: ['Wed, 30 May 2018 07:46:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630203.328594,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666403.516379,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/backend + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:43:18Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:43:18Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:46:37Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:46:37Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:23 GMT'] + date: ['Wed, 30 May 2018 07:46:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630204.514114,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666403.732459,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/director + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,23 +186,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:24 GMT'] + date: ['Wed, 30 May 2018 07:46:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630204.955810,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666403.912228,VS0,VE405'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/cache_settings + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/cache_settings response: - body: {string: !!python/unicode '[{"stale_ttl":"10","version":"3","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:19Z","action":"pass","updated_at":"2018-05-29T21:43:19Z"}]'} + body: {string: !!python/unicode '[{"stale_ttl":"10","version":"3","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","cache_condition":"","created_at":"2018-05-30T07:46:37Z","action":"pass","updated_at":"2018-05-30T07:46:37Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['246'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:24 GMT'] + date: ['Wed, 30 May 2018 07:46:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630204.439673,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666403.377511,VS0,VE436'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/gzip + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:25 GMT'] + date: ['Wed, 30 May 2018 07:46:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630205.878218,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666404.874297,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/header + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"2ElZpLWBqaLapYb4nPpjID","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:43:19Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:43:19Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"4QTALGNdYy2aTC1pf08MkQ","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:46:38Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:46:38Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:25 GMT'] + date: ['Wed, 30 May 2018 07:46:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630205.357292,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666404.061255,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/request_settings + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:25 GMT'] + date: ['Wed, 30 May 2018 07:46:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630206.539607,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666404.243214,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/response_object + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:19Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:43:19Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","cache_condition":"","created_at":"2018-05-30T07:46:38Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:46:38Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:25 GMT'] + date: ['Wed, 30 May 2018 07:46:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630206.719285,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666405.710812,VS0,VE386'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/snippet + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +332,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:26 GMT'] + date: ['Wed, 30 May 2018 07:46:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630206.905040,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666405.158825,VS0,VE159'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/logging/s3 + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:26 GMT'] + date: ['Wed, 30 May 2018 07:46:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630206.127400,VS0,VE376'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666405.376336,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/domain/example8000.com + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +379,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:26 GMT'] - fastly-ratelimit-remaining: ['944'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:46 GMT'] + fastly-ratelimit-remaining: ['661'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630207.631252,VS0,VE316'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666406.863345,VS0,VE169'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/backend/localhost + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +404,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:27 GMT'] - fastly-ratelimit-remaining: ['943'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:46 GMT'] + fastly-ratelimit-remaining: ['660'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630207.022662,VS0,VE495'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666406.092389,VS0,VE465'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/cache_settings/cache-settings-config-name + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/cache_settings/cache-settings-config-name response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +429,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:27 GMT'] - fastly-ratelimit-remaining: ['942'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:46 GMT'] + fastly-ratelimit-remaining: ['659'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630208.592487,VS0,VE214'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666407.620549,VS0,VE229'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,23 +454,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:28 GMT'] - fastly-ratelimit-remaining: ['941'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:47 GMT'] + fastly-ratelimit-remaining: ['658'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630208.883270,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666407.908514,VS0,VE190'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -480,41 +479,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:28 GMT'] - fastly-ratelimit-remaining: ['940'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:47 GMT'] + fastly-ratelimit-remaining: ['657'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630208.384157,VS0,VE511'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666407.158571,VS0,VE212'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/domain + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2ElZpLWBqaLapYb4nPpjID","version":3,"deleted_at":null,"created_at":"2018-05-29T21:43:29Z","updated_at":"2018-05-29T21:43:29Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":3,"deleted_at":null,"created_at":"2018-05-30T07:46:47Z","updated_at":"2018-05-30T07:46:47Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:29 GMT'] - fastly-ratelimit-remaining: ['939'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:47 GMT'] + fastly-ratelimit-remaining: ['656'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630209.969415,VS0,VE486'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666407.428756,VS0,VE203'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -525,25 +524,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/backend + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:29Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:29Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:46:47Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:46:47Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:29 GMT'] - fastly-ratelimit-remaining: ['938'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:47 GMT'] + fastly-ratelimit-remaining: ['655'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630210.530578,VS0,VE235'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666408.694472,VS0,VE168'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": null, "stale_ttl": 0, "name": "cache-settings-config-name", @@ -551,25 +550,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/cache_settings + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/cache_settings response: - body: {string: !!python/unicode '{"action":null,"stale_ttl":0,"name":"cache-settings-config-name","cache_condition":"","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-05-29T21:43:30Z","updated_at":"2018-05-29T21:43:30Z"}'} + body: {string: !!python/unicode '{"action":null,"stale_ttl":0,"name":"cache-settings-config-name","cache_condition":"","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-05-30T07:46:48Z","updated_at":"2018-05-30T07:46:48Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['239'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:30 GMT'] - fastly-ratelimit-remaining: ['937'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:48 GMT'] + fastly-ratelimit-remaining: ['654'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630210.840279,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666408.921652,VS0,VE453'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -579,26 +578,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/header + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":"3","updated_at":"2018-05-29T21:43:30Z","deleted_at":null,"created_at":"2018-05-29T21:43:30Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"3","updated_at":"2018-05-30T07:46:48Z","deleted_at":null,"created_at":"2018-05-30T07:46:48Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:30 GMT'] - fastly-ratelimit-remaining: ['936'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:48 GMT'] + fastly-ratelimit-remaining: ['653'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630210.313228,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666408.437452,VS0,VE156'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -606,87 +605,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/response_object + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:31Z","updated_at":"2018-05-29T21:43:31Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:46:48Z","updated_at":"2018-05-30T07:46:48Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:31 GMT'] - fastly-ratelimit-remaining: ['935'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:48 GMT'] + fastly-ratelimit-remaining: ['652'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630211.830051,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666409.655426,VS0,VE199'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/settings + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"4QTALGNdYy2aTC1pf08MkQ"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:31 GMT'] - fastly-ratelimit-remaining: ['934'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:49 GMT'] + fastly-ratelimit-remaining: ['651'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630211.316997,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666409.917546,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/activate + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:31Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:48Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:32 GMT'] - fastly-ratelimit-remaining: ['933'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:49 GMT'] + fastly-ratelimit-remaining: ['650'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630212.802475,VS0,VE835'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666409.115356,VS0,VE584'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","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":"0","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\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" 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 - 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-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","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":"0","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\" + 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:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" 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 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}}}'} headers: @@ -696,14 +695,14 @@ interactions: connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:33 GMT'] + date: ['Wed, 30 May 2018 07:46:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630213.711961,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666410.758220,VS0,VE150'] status: {code: 200, message: OK} - request: body: null @@ -712,7 +711,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -720,25 +719,25 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:33 GMT'] + date: ['Wed, 30 May 2018 07:46:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630213.179149,VS0,VE399'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666410.966261,VS0,VE442'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","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":"0","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\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" 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 - 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-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","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":"0","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\" + 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:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" 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 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}}}'} headers: @@ -748,25 +747,25 @@ interactions: connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:33 GMT'] + date: ['Wed, 30 May 2018 07:46:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630214.650810,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666410.467469,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","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":"0","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\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" 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 - 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-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","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":"0","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\" + 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:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" 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 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}}}'} headers: @@ -776,13 +775,13 @@ interactions: connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:33 GMT'] + date: ['Wed, 30 May 2018 07:46:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630214.843061,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666411.653213,VS0,VE160'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml b/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml index b49d5a7..a82d07b 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","comment":""}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:09Z","active":true,"number":3,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:01Z","comment":""}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,26 +14,26 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:10 GMT'] + date: ['Wed, 30 May 2018 07:49:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630371.813537,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666550.392202,VS0,VE146'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:49:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:09Z","active":true,"number":3,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url + 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:49:09Z","active":true,"number":3,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} @@ -44,46 +44,46 @@ interactions: connection: [keep-alive] content-length: ['4463'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:11 GMT'] + date: ['Wed, 30 May 2018 07:49:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630371.025330,VS0,VE550'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666551.599558,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/deactivate + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:49:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:12 GMT'] - fastly-ratelimit-remaining: ['785'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:11 GMT'] + fastly-ratelimit-remaining: ['502'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630372.742156,VS0,VE494'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666551.778256,VS0,VE502'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6 + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -92,15 +92,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:12 GMT'] - fastly-ratelimit-remaining: ['784'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:11 GMT'] + fastly-ratelimit-remaining: ['501'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527630372.314582,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666551.342172,VS0,VE140'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml index ea5a703..ca30e8d 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":""}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","comment":""}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,76 +14,75 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:00 GMT'] + date: ['Wed, 30 May 2018 07:49:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630360.474722,VS0,VE388'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666540.845868,VS0,VE190'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:11Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:01 GMT'] + date: ['Wed, 30 May 2018 07:49:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630361.942704,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666540.094893,VS0,VE377'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/clone + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:11Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:01 GMT'] - fastly-ratelimit-remaining: ['797'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:01 GMT'] + fastly-ratelimit-remaining: ['514'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630361.372269,VS0,VE482'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666541.534199,VS0,VE552'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/domain + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","created_at":"2018-05-29T21:43:54Z","comment":"","updated_at":"2018-05-29T21:43:54Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","created_at":"2018-05-30T07:47:09Z","comment":"","updated_at":"2018-05-30T07:47:09Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:02 GMT'] + date: ['Wed, 30 May 2018 07:49:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630362.926571,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666541.147259,VS0,VE457'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/healthcheck + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:02 GMT'] + date: ['Wed, 30 May 2018 07:49:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630362.116646,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666542.669998,VS0,VE419'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/condition + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:02 GMT'] + date: ['Wed, 30 May 2018 07:49:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630363.555372,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666542.149969,VS0,VE208'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/backend + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:43:54Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:43:54Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:47:09Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:09Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:03 GMT'] + date: ['Wed, 30 May 2018 07:49:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630363.738299,VS0,VE373'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666542.419254,VS0,VE146'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/director + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:03 GMT'] + date: ['Wed, 30 May 2018 07:49:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630363.184329,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666543.626299,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/cache_settings + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:03 GMT'] + date: ['Wed, 30 May 2018 07:49:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630363.369586,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666543.809508,VS0,VE135'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/gzip + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:03 GMT'] + date: ['Wed, 30 May 2018 07:49:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630364.562125,VS0,VE358'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666543.004143,VS0,VE417'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/header + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"2tI8MfAHvk4zqv70RFDCq6","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:43:54Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:43:54Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"51QLfHG1zvS1YZjizF8nPK","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:47:10Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:47:10Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:04 GMT'] + date: ['Wed, 30 May 2018 07:49:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630364.991911,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666543.481309,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/request_settings + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:04 GMT'] + date: ['Wed, 30 May 2018 07:49:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630364.473279,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666544.659682,VS0,VE132'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/response_object + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","cache_condition":"","created_at":"2018-05-29T21:43:55Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:43:55Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","cache_condition":"","created_at":"2018-05-30T07:47:10Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:47:10Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:04 GMT'] + date: ['Wed, 30 May 2018 07:49:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630365.658912,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666544.854538,VS0,VE141'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/snippet + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +332,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:04 GMT'] + date: ['Wed, 30 May 2018 07:49:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630365.853810,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666544.054004,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/logging/s3 + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:05 GMT'] + date: ['Wed, 30 May 2018 07:49:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630365.045941,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666544.238698,VS0,VE390'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/domain/example8000.com + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +379,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:05 GMT'] - fastly-ratelimit-remaining: ['796'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:05 GMT'] + fastly-ratelimit-remaining: ['513'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630365.233026,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666545.688837,VS0,VE467'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/backend/localhost + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +404,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:05 GMT'] - fastly-ratelimit-remaining: ['795'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:05 GMT'] + fastly-ratelimit-remaining: ['512'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630365.463343,VS0,VE162'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666545.216515,VS0,VE463'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +429,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:06 GMT'] - fastly-ratelimit-remaining: ['794'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:06 GMT'] + fastly-ratelimit-remaining: ['511'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630366.701986,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666546.741298,VS0,VE463'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,41 +454,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:06 GMT'] - fastly-ratelimit-remaining: ['793'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:06 GMT'] + fastly-ratelimit-remaining: ['510'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630366.214361,VS0,VE419'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666546.266858,VS0,VE429'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/domain + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":3,"deleted_at":null,"created_at":"2018-05-29T21:46:07Z","updated_at":"2018-05-29T21:46:07Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"51QLfHG1zvS1YZjizF8nPK","version":3,"deleted_at":null,"created_at":"2018-05-30T07:49:07Z","updated_at":"2018-05-30T07:49:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:07 GMT'] - fastly-ratelimit-remaining: ['792'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:07 GMT'] + fastly-ratelimit-remaining: ['509'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630367.708004,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666547.754893,VS0,VE467'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "priority": "0", "type": "CACHE", "name": @@ -497,26 +496,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/condition + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/condition response: body: {string: !!python/unicode '{"comment":"","priority":"0","type":"CACHE","name":"condition-name","statement":"req.url - ~ \"^/some_asset.js\"","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"3","deleted_at":null,"created_at":"2018-05-29T21:46:07Z","updated_at":"2018-05-29T21:46:07Z"}'} + ~ \"^/some_asset.js\"","service_id":"51QLfHG1zvS1YZjizF8nPK","version":"3","deleted_at":null,"created_at":"2018-05-30T07:49:07Z","updated_at":"2018-05-30T07:49:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['254'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:07 GMT'] - fastly-ratelimit-remaining: ['791'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:07 GMT'] + fastly-ratelimit-remaining: ['508'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630367.218601,VS0,VE381'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666547.282645,VS0,VE401'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -527,25 +526,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/backend + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:08Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:08Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:49:08Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:49:08Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:08 GMT'] - fastly-ratelimit-remaining: ['790'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:08 GMT'] + fastly-ratelimit-remaining: ['507'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630368.669887,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666548.745694,VS0,VE450'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -555,26 +554,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/header + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - cache control header","src":"\"public, max-age=86400\"","dst":"http.Cache-Control","substitution":"","priority":"100","cache_condition":"condition-name","action":"set","type":"cache","response_condition":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"3","updated_at":"2018-05-29T21:46:08Z","deleted_at":null,"created_at":"2018-05-29T21:46:08Z"}'} + cache control header","src":"\"public, max-age=86400\"","dst":"http.Cache-Control","substitution":"","priority":"100","cache_condition":"condition-name","action":"set","type":"cache","response_condition":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","version":"3","updated_at":"2018-05-30T07:49:08Z","deleted_at":null,"created_at":"2018-05-30T07:49:08Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['420'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:08 GMT'] - fastly-ratelimit-remaining: ['789'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:08 GMT'] + fastly-ratelimit-remaining: ['506'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630368.175617,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666548.258443,VS0,VE164'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -582,88 +581,88 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/response_object + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:08Z","updated_at":"2018-05-29T21:46:08Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"51QLfHG1zvS1YZjizF8nPK","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:49:08Z","updated_at":"2018-05-30T07:49:08Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:09 GMT'] - fastly-ratelimit-remaining: ['788'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:08 GMT'] + fastly-ratelimit-remaining: ['505'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630369.653503,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666548.484518,VS0,VE160'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/settings + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2tI8MfAHvk4zqv70RFDCq6"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"51QLfHG1zvS1YZjizF8nPK"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:09 GMT'] - fastly-ratelimit-remaining: ['787'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:09 GMT'] + fastly-ratelimit-remaining: ['504'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630369.121436,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666549.707166,VS0,VE469'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/activate + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:08Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:49:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:08Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:10 GMT'] - fastly-ratelimit-remaining: ['786'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:09 GMT'] + fastly-ratelimit-remaining: ['503'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630370.630170,VS0,VE845'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666549.237057,VS0,VE580'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:49:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:09Z","active":true,"number":3,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url + 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:49:09Z","active":true,"number":3,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} @@ -674,13 +673,13 @@ interactions: connection: [keep-alive] content-length: ['4463'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:10 GMT'] + date: ['Wed, 30 May 2018 07:49:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630371.563176,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666550.877588,VS0,VE432'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml index 4885145..ac4644f 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:12 GMT'] + date: ['Wed, 30 May 2018 07:49:11 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630373.823484,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666552.554236,VS0,VE126'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"d9f3ba5a7927406e8e54f286e3e631d76241270c","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:46:13Z","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} + Ansible Module Test","publish_key":"380b6b819b4c8954d855cccbfab3e9e4fb1f2e2f","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:49:11Z","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:13 GMT'] - fastly-ratelimit-remaining: ['783'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:11 GMT'] + fastly-ratelimit-remaining: ['500'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630373.039338,VS0,VE199'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666552.739827,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:13Z","active":false,"number":1,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:46:13Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:11Z","active":false,"number":1,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:49:11Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:13 GMT'] + date: ['Wed, 30 May 2018 07:49:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630373.311192,VS0,VE483'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666552.949402,VS0,VE159'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/1/clone + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:14 GMT'] - fastly-ratelimit-remaining: ['782'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:12 GMT'] + fastly-ratelimit-remaining: ['499'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630374.867757,VS0,VE526'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666552.168614,VS0,VE537'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/domain + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:14 GMT'] + date: ['Wed, 30 May 2018 07:49:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630374.466023,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666553.765747,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/healthcheck + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:14 GMT'] + date: ['Wed, 30 May 2018 07:49:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630375.678709,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666553.950321,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/condition + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:15 GMT'] + date: ['Wed, 30 May 2018 07:49:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630375.904400,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666553.137400,VS0,VE384'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/backend + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:15 GMT'] + date: ['Wed, 30 May 2018 07:49:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630375.389230,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666554.581387,VS0,VE393'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/director + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:16 GMT'] + date: ['Wed, 30 May 2018 07:49:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630376.833639,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666554.035293,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/cache_settings + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:16 GMT'] + date: ['Wed, 30 May 2018 07:49:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630376.275824,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666554.214646,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/gzip + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:16 GMT'] + date: ['Wed, 30 May 2018 07:49:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630376.458514,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666555.686111,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/header + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:17 GMT'] + date: ['Wed, 30 May 2018 07:49:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630377.649188,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666555.871417,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/request_settings + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:17 GMT'] + date: ['Wed, 30 May 2018 07:49:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630377.089522,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666555.052230,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/response_object + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:17 GMT'] + date: ['Wed, 30 May 2018 07:49:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630377.273964,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666555.238393,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/snippet + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:18 GMT'] + date: ['Wed, 30 May 2018 07:49:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630378.762429,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666555.426524,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/logging/s3 + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,39 +378,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:18 GMT'] + date: ['Wed, 30 May 2018 07:49:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630378.247771,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666556.607802,VS0,VE123'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/domain + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5VLquy0RjmswddaW2ZC2d6","version":2,"deleted_at":null,"created_at":"2018-05-29T21:46:19Z","updated_at":"2018-05-29T21:46:19Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":2,"deleted_at":null,"created_at":"2018-05-30T07:49:16Z","updated_at":"2018-05-30T07:49:16Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:19 GMT'] - fastly-ratelimit-remaining: ['781'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:16 GMT'] + fastly-ratelimit-remaining: ['498'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630379.687586,VS0,VE454'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666556.791487,VS0,VE485'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "priority": "0", "type": "REQUEST", "name": @@ -418,26 +418,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/condition + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/condition response: body: {string: !!python/unicode '{"comment":"","priority":"0","type":"REQUEST","name":"condition-name","statement":"req.url - ~ \"^/robots.txt\"","service_id":"5VLquy0RjmswddaW2ZC2d6","version":"2","deleted_at":null,"created_at":"2018-05-29T21:46:19Z","updated_at":"2018-05-29T21:46:19Z"}'} + ~ \"^/robots.txt\"","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":"2","deleted_at":null,"created_at":"2018-05-30T07:49:16Z","updated_at":"2018-05-30T07:49:16Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['253'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:19 GMT'] - fastly-ratelimit-remaining: ['780'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:16 GMT'] + fastly-ratelimit-remaining: ['497'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630379.218484,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666556.337188,VS0,VE424'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -448,25 +448,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/backend + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:19Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:19Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:49:16Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:49:16Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:19 GMT'] - fastly-ratelimit-remaining: ['779'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:17 GMT'] + fastly-ratelimit-remaining: ['496'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630379.418011,VS0,VE185'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666557.822283,VS0,VE205'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -476,26 +476,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/header + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":"2","updated_at":"2018-05-29T21:46:19Z","deleted_at":null,"created_at":"2018-05-29T21:46:19Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","version":"2","updated_at":"2018-05-30T07:49:17Z","deleted_at":null,"created_at":"2018-05-30T07:49:17Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:19 GMT'] - fastly-ratelimit-remaining: ['778'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:17 GMT'] + fastly-ratelimit-remaining: ['495'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630380.685607,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666557.086806,VS0,VE154'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -503,88 +503,88 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/response_object + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"5VLquy0RjmswddaW2ZC2d6","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:20Z","updated_at":"2018-05-29T21:46:20Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:49:17Z","updated_at":"2018-05-30T07:49:17Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:20 GMT'] - fastly-ratelimit-remaining: ['777'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:17 GMT'] + fastly-ratelimit-remaining: ['494'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630380.958782,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666557.301730,VS0,VE416'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/settings + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5VLquy0RjmswddaW2ZC2d6"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7KtO62yYy4HjbBx0I6N0fw"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:20 GMT'] - fastly-ratelimit-remaining: ['776'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:17 GMT'] + fastly-ratelimit-remaining: ['493'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630380.466505,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666558.780411,VS0,VE183'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/activate + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:20Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:17Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:21 GMT'] - fastly-ratelimit-remaining: ['775'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:18 GMT'] + fastly-ratelimit-remaining: ['492'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630381.967028,VS0,VE679'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666558.024709,VS0,VE660'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:21Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","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":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:18Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:18Z","active":true,"number":2,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:12Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","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":[],"conditions":[{"priority":"0","statement":"req.url + 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:49:18Z","active":true,"number":2,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:12Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} @@ -595,13 +595,13 @@ interactions: connection: [keep-alive] content-length: ['4215'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:21 GMT'] + date: ['Wed, 30 May 2018 07:49:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630382.720852,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666559.745058,VS0,VE148'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml b/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml index 28b3899..a8fb197 100644 --- a/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml @@ -6,81 +6,80 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":""}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:19Z","comment":""}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:35 GMT'] + date: ['Wed, 30 May 2018 07:49:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630395.028870,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666570.753928,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:35 GMT'] + date: ['Wed, 30 May 2018 07:49:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630396.544029,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666570.968503,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/deactivate + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:36 GMT'] - fastly-ratelimit-remaining: ['760'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:30 GMT'] + fastly-ratelimit-remaining: ['477'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630396.735855,VS0,VE501'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666570.155458,VS0,VE530'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6 + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,15 +88,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:36 GMT'] - fastly-ratelimit-remaining: ['759'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:30 GMT'] + fastly-ratelimit-remaining: ['476'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630396.311221,VS0,VE394'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666571.748782,VS0,VE135'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml b/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml index 7f7d261..a800476 100644 --- a/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml +++ b/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","comment":""}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:18Z","active":true,"number":2,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:12Z","comment":""}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,26 +14,26 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:22 GMT'] + date: ['Wed, 30 May 2018 07:49:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630382.999212,VS0,VE133'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666559.016549,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:21Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","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":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:18Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:18Z","active":true,"number":2,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:12Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","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":[],"conditions":[{"priority":"0","statement":"req.url + 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:49:18Z","active":true,"number":2,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:12Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} @@ -44,48 +44,48 @@ interactions: connection: [keep-alive] content-length: ['4215'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:22 GMT'] + date: ['Wed, 30 May 2018 07:49:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527630382.210762,VS0,VE109'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666559.224926,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/clone + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:21Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:18Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:22 GMT'] - fastly-ratelimit-remaining: ['774'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:19 GMT'] + fastly-ratelimit-remaining: ['491'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630382.391530,VS0,VE496'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666559.411505,VS0,VE478'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/domain + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","created_at":"2018-05-29T21:46:19Z","comment":"","updated_at":"2018-05-29T21:46:19Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","created_at":"2018-05-30T07:49:16Z","comment":"","updated_at":"2018-05-30T07:49:16Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -93,21 +93,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:23 GMT'] + date: ['Wed, 30 May 2018 07:49:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630383.963566,VS0,VE165'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666560.950850,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/healthcheck + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -117,24 +117,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:23 GMT'] + date: ['Wed, 30 May 2018 07:49:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630383.203718,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666560.132496,VS0,VE132'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/condition + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/condition response: - body: {string: !!python/unicode '[{"priority":"0","version":"3","name":"condition-name","deleted_at":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","created_at":"2018-05-29T21:46:19Z","comment":"","statement":"req.url - ~ \"^/robots.txt\"","updated_at":"2018-05-29T21:46:19Z","type":"REQUEST"}]'} + body: {string: !!python/unicode '[{"priority":"0","version":"3","name":"condition-name","deleted_at":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","created_at":"2018-05-30T07:49:16Z","comment":"","statement":"req.url + ~ \"^/robots.txt\"","updated_at":"2018-05-30T07:49:16Z","type":"REQUEST"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -142,23 +142,23 @@ interactions: connection: [keep-alive] content-length: ['255'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:23 GMT'] + date: ['Wed, 30 May 2018 07:49:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630383.391197,VS0,VE373'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666560.325267,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/backend + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:46:19Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:46:19Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:49:16Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:49:16Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -166,21 +166,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:23 GMT'] + date: ['Wed, 30 May 2018 07:49:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630384.839908,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666561.536725,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/director + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -190,21 +190,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:24 GMT'] + date: ['Wed, 30 May 2018 07:49:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630384.043637,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666561.721507,VS0,VE382'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/cache_settings + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -214,21 +214,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:24 GMT'] + date: ['Wed, 30 May 2018 07:49:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630384.244123,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666561.163506,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/gzip + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -238,24 +238,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:24 GMT'] + date: ['Wed, 30 May 2018 07:49:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630384.436371,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666561.343247,VS0,VE386'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/header + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"5VLquy0RjmswddaW2ZC2d6","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:46:19Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:46:19Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"7KtO62yYy4HjbBx0I6N0fw","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:49:17Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:49:17Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -263,21 +263,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:25 GMT'] + date: ['Wed, 30 May 2018 07:49:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630385.914030,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666562.790548,VS0,VE384'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/request_settings + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -287,24 +287,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:25 GMT'] + date: ['Wed, 30 May 2018 07:49:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630385.101131,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666562.237756,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/response_object + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","cache_condition":"","created_at":"2018-05-29T21:46:20Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:46:20Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","cache_condition":"","created_at":"2018-05-30T07:49:17Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:49:17Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -312,21 +312,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:25 GMT'] + date: ['Wed, 30 May 2018 07:49:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630386.581304,VS0,VE379'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666562.423426,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/snippet + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -336,21 +336,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:26 GMT'] + date: ['Wed, 30 May 2018 07:49:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630386.034588,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666563.611923,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/logging/s3 + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -360,21 +360,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:26 GMT'] + date: ['Wed, 30 May 2018 07:49:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630386.225033,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666563.799874,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/domain/example8000.com + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -383,23 +383,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:27 GMT'] - fastly-ratelimit-remaining: ['773'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:23 GMT'] + fastly-ratelimit-remaining: ['490'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630387.703876,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666563.981184,VS0,VE457'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/condition/condition-name + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/condition/condition-name response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -408,23 +408,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:27 GMT'] - fastly-ratelimit-remaining: ['772'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:23 GMT'] + fastly-ratelimit-remaining: ['489'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630387.206476,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666563.499809,VS0,VE439'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/backend/localhost + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -433,23 +433,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:28 GMT'] - fastly-ratelimit-remaining: ['771'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:24 GMT'] + fastly-ratelimit-remaining: ['488'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630388.717725,VS0,VE438'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666564.003060,VS0,VE459'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -458,23 +458,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:28 GMT'] - fastly-ratelimit-remaining: ['770'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:24 GMT'] + fastly-ratelimit-remaining: ['487'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630388.229980,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666565.520622,VS0,VE464'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -483,41 +483,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:28 GMT'] - fastly-ratelimit-remaining: ['769'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:25 GMT'] + fastly-ratelimit-remaining: ['486'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630389.728696,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666565.046359,VS0,VE478'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/domain + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"deleted_at":null,"created_at":"2018-05-29T21:46:29Z","updated_at":"2018-05-29T21:46:29Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":3,"deleted_at":null,"created_at":"2018-05-30T07:49:25Z","updated_at":"2018-05-30T07:49:25Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:29 GMT'] - fastly-ratelimit-remaining: ['768'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:25 GMT'] + fastly-ratelimit-remaining: ['485'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630389.964058,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666566.586303,VS0,VE234'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -528,25 +528,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/backend + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:29Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:29Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:49:26Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:49:26Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:29 GMT'] - fastly-ratelimit-remaining: ['767'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:26 GMT'] + fastly-ratelimit-remaining: ['484'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630389.486211,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666566.880889,VS0,VE458'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "retries": 5, "capacity": 100, "shield": @@ -554,50 +554,50 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/director + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/director response: - body: {string: !!python/unicode '{"comment":"","retries":5,"capacity":100,"shield":null,"backends":[],"quorum":75,"type":4,"name":"client_director","service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"deleted_at":null,"created_at":"2018-05-29T21:46:30Z","updated_at":"2018-05-29T21:46:30Z"}'} + body: {string: !!python/unicode '{"comment":"","retries":5,"capacity":100,"shield":null,"backends":[],"quorum":75,"type":4,"name":"client_director","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":3,"deleted_at":null,"created_at":"2018-05-30T07:49:26Z","updated_at":"2018-05-30T07:49:26Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['255'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:30 GMT'] - fastly-ratelimit-remaining: ['766'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:26 GMT'] + fastly-ratelimit-remaining: ['483'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630390.070332,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666566.400923,VS0,VE151'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/director/client_director/backend/localhost + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/director/client_director/backend/localhost response: - body: {string: !!python/unicode '{"service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"director_name":"client_director","backend_name":"localhost","created_at":"2018-05-29T21:46:30Z","deleted_at":null,"updated_at":"2018-05-29T21:46:30Z"}'} + body: {string: !!python/unicode '{"service_id":"7KtO62yYy4HjbBx0I6N0fw","version":3,"director_name":"client_director","backend_name":"localhost","created_at":"2018-05-30T07:49:26Z","deleted_at":null,"updated_at":"2018-05-30T07:49:26Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['202'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:30 GMT'] - fastly-ratelimit-remaining: ['765'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:27 GMT'] + fastly-ratelimit-remaining: ['482'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630391.556556,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666567.612732,VS0,VE417'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -607,26 +607,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/header + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":"3","updated_at":"2018-05-29T21:46:31Z","deleted_at":null,"created_at":"2018-05-29T21:46:31Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","version":"3","updated_at":"2018-05-30T07:49:27Z","deleted_at":null,"created_at":"2018-05-30T07:49:27Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:31 GMT'] - fastly-ratelimit-remaining: ['764'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:27 GMT'] + fastly-ratelimit-remaining: ['481'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630391.098748,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666567.090341,VS0,VE202'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -634,87 +634,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/response_object + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"5VLquy0RjmswddaW2ZC2d6","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:32Z","updated_at":"2018-05-29T21:46:32Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:49:27Z","updated_at":"2018-05-30T07:49:27Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:32 GMT'] - fastly-ratelimit-remaining: ['763'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:27 GMT'] + fastly-ratelimit-remaining: ['480'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630392.713510,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666567.353345,VS0,VE445'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/settings + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"5VLquy0RjmswddaW2ZC2d6"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"7KtO62yYy4HjbBx0I6N0fw"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:32 GMT'] - fastly-ratelimit-remaining: ['762'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:28 GMT'] + fastly-ratelimit-remaining: ['479'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630392.231667,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666568.860925,VS0,VE185'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/activate + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:32Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:27Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:33 GMT'] - fastly-ratelimit-remaining: ['761'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:28 GMT'] + fastly-ratelimit-remaining: ['478'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630393.840711,VS0,VE909'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666568.106336,VS0,VE725'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -724,14 +724,14 @@ interactions: connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:34 GMT'] + date: ['Wed, 30 May 2018 07:49:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630394.863262,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666569.891676,VS0,VE157'] status: {code: 200, message: OK} - request: body: null @@ -740,7 +740,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":""}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:19Z","comment":""}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -748,25 +748,25 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:34 GMT'] + date: ['Wed, 30 May 2018 07:49:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630394.373454,VS0,VE179'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666569.109249,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -776,25 +776,25 @@ interactions: connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:34 GMT'] + date: ['Wed, 30 May 2018 07:49:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630395.623699,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666569.328995,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -804,13 +804,13 @@ interactions: connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:34 GMT'] + date: ['Wed, 30 May 2018 07:49:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630395.810404,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666570.506682,VS0,VE163'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml b/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml index f504b6e..a1f5608 100644 --- a/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","comment":""}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:50Z","active":true,"number":2,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","comment":""}],"created_at":"2018-05-30T07:50:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:43Z","id":"1CZ9WdFq9PufhCLLXC9Qu0"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,28 +14,28 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:13 GMT'] + date: ['Wed, 30 May 2018 07:50:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630494.827579,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666650.435653,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/details + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:13Z","deployed":false}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:50Z","deployed":false}],"created_at":"2018-05-30T07:50:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:43Z","id":"1CZ9WdFq9PufhCLLXC9Qu0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:50Z","active":true,"number":2,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T07:50:48Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T07:50:48Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html + 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:50:50Z","active":true,"number":2,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T07:50:48Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T07:50:48Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} @@ -46,46 +46,46 @@ interactions: connection: [keep-alive] content-length: ['4443'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:14 GMT'] + date: ['Wed, 30 May 2018 07:50:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630494.049221,VS0,VE109'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666651.633984,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/deactivate + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:13Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:50Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:14 GMT'] - fastly-ratelimit-remaining: ['674'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:51 GMT'] + fastly-ratelimit-remaining: ['391'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630494.233974,VS0,VE484'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666651.822195,VS0,VE491'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0 response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -94,15 +94,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:15 GMT'] - fastly-ratelimit-remaining: ['673'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:51 GMT'] + fastly-ratelimit-remaining: ['390'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630495.789702,VS0,VE390'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666651.373080,VS0,VE152'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml b/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml index a266944..bae6df0 100644 --- a/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml +++ b/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml @@ -10,19 +10,18 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:05 GMT'] + date: ['Wed, 30 May 2018 07:50:42 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630485.005829,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666643.624746,VS0,VE121'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +31,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"d1f3520a2ecf587cfde1fc4de23190ee99895e42","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:48:05Z","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM"}'} + Ansible Module Test","publish_key":"111c908dd1f09fc9cf460f61a2e486fcade643c1","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","comment":"","updated_at":"2018-05-30T07:50:43Z","id":"1CZ9WdFq9PufhCLLXC9Qu0"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:05 GMT'] - fastly-ratelimit-remaining: ['683'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:43 GMT'] + fastly-ratelimit-remaining: ['400'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630485.187724,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666643.802598,VS0,VE450'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/details + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:05Z","active":false,"number":1,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:48:05Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false}],"created_at":"2018-05-30T07:50:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:43Z","id":"1CZ9WdFq9PufhCLLXC9Qu0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:43Z","active":false,"number":1,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +64,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:05 GMT'] + date: ['Wed, 30 May 2018 07:50:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630486.645168,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666643.313336,VS0,VE494'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/1/clone + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:06 GMT'] - fastly-ratelimit-remaining: ['682'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:44 GMT'] + fastly-ratelimit-remaining: ['399'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630486.891735,VS0,VE452'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666644.868904,VS0,VE218'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/domain + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:06 GMT'] + date: ['Wed, 30 May 2018 07:50:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630486.415915,VS0,VE372'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666644.145809,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/healthcheck + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +137,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:07 GMT'] + date: ['Wed, 30 May 2018 07:50:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630487.859190,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666644.322926,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/condition + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:07 GMT'] + date: ['Wed, 30 May 2018 07:50:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630487.356052,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666645.500012,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/backend + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:07 GMT'] + date: ['Wed, 30 May 2018 07:50:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630488.791334,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666645.686020,VS0,VE138'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/director + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:08 GMT'] + date: ['Wed, 30 May 2018 07:50:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630488.981511,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666645.883864,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/cache_settings + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +233,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:08 GMT'] + date: ['Wed, 30 May 2018 07:50:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630488.417179,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666645.336152,VS0,VE141'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/gzip + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +257,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:08 GMT'] + date: ['Wed, 30 May 2018 07:50:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630489.606546,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666646.535010,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/header + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +281,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:08 GMT'] + date: ['Wed, 30 May 2018 07:50:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630489.798411,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666646.715552,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/request_settings + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +305,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:09 GMT'] + date: ['Wed, 30 May 2018 07:50:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630489.988145,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666646.899587,VS0,VE161'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/response_object + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +329,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:09 GMT'] + date: ['Wed, 30 May 2018 07:50:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630489.424575,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666646.120548,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/snippet + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +353,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:09 GMT'] + date: ['Wed, 30 May 2018 07:50:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630490.872178,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666646.303978,VS0,VE384'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/logging/s3 + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,39 +377,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:10 GMT'] + date: ['Wed, 30 May 2018 07:50:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630490.055769,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666647.744865,VS0,VE127'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/domain + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":2,"deleted_at":null,"created_at":"2018-05-29T21:48:10Z","updated_at":"2018-05-29T21:48:10Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"1CZ9WdFq9PufhCLLXC9Qu0","version":2,"deleted_at":null,"created_at":"2018-05-30T07:50:47Z","updated_at":"2018-05-30T07:50:47Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:10 GMT'] - fastly-ratelimit-remaining: ['681'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:47 GMT'] + fastly-ratelimit-remaining: ['398'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630490.251525,VS0,VE458'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666647.934732,VS0,VE473'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -421,25 +420,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/backend + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:48:10Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:48:10Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:47Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:47Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:11 GMT'] - fastly-ratelimit-remaining: ['680'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:47 GMT'] + fastly-ratelimit-remaining: ['397'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630491.835173,VS0,VE167'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666647.471784,VS0,VE176'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"content_types": "text/html text/css application/javascript", @@ -448,26 +447,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/gzip + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/gzip response: body: {string: !!python/unicode '{"content_types":"text/html text/css application/javascript","extensions":"html - css js","name":"gzip-config-name","cache_condition":"","service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":"2","deleted_at":null,"created_at":"2018-05-29T21:48:11Z","updated_at":"2018-05-29T21:48:11Z"}'} + css js","name":"gzip-config-name","cache_condition":"","service_id":"1CZ9WdFq9PufhCLLXC9Qu0","version":"2","deleted_at":null,"created_at":"2018-05-30T07:50:48Z","updated_at":"2018-05-30T07:50:48Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['277'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:11 GMT'] - fastly-ratelimit-remaining: ['679'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:48 GMT'] + fastly-ratelimit-remaining: ['396'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630491.074440,VS0,VE144'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666648.707868,VS0,VE421'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -477,26 +476,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/header + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":"2","updated_at":"2018-05-29T21:48:11Z","deleted_at":null,"created_at":"2018-05-29T21:48:11Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","version":"2","updated_at":"2018-05-30T07:50:48Z","deleted_at":null,"created_at":"2018-05-30T07:50:48Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:11 GMT'] - fastly-ratelimit-remaining: ['678'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:48 GMT'] + fastly-ratelimit-remaining: ['395'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630491.293783,VS0,VE399'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666648.190386,VS0,VE161'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -504,90 +503,90 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/response_object + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:48:12Z","updated_at":"2018-05-29T21:48:12Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"1CZ9WdFq9PufhCLLXC9Qu0","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:48Z","updated_at":"2018-05-30T07:50:48Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:12 GMT'] - fastly-ratelimit-remaining: ['677'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:48 GMT'] + fastly-ratelimit-remaining: ['394'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] - x-timer: ['S1527630492.832465,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666648.413625,VS0,VE415'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/settings + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7XjFT2gY9AAn4wBcr5FxYM"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:12 GMT'] - fastly-ratelimit-remaining: ['676'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:49 GMT'] + fastly-ratelimit-remaining: ['393'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630492.376161,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666649.889667,VS0,VE184'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/activate + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:12Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:48Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:13 GMT'] - fastly-ratelimit-remaining: ['675'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:50 GMT'] + fastly-ratelimit-remaining: ['392'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630493.903979,VS0,VE616'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666649.136296,VS0,VE958'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/details + uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:13Z","deployed":false}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:50Z","deployed":false}],"created_at":"2018-05-30T07:50:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:43Z","id":"1CZ9WdFq9PufhCLLXC9Qu0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:50Z","active":true,"number":2,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T07:50:48Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T07:50:48Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html + 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:50:50Z","active":true,"number":2,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T07:50:48Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T07:50:48Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} @@ -598,13 +597,13 @@ interactions: connection: [keep-alive] content-length: ['4443'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:13 GMT'] + date: ['Wed, 30 May 2018 07:50:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630494.593054,VS0,VE144'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666650.155292,VS0,VE193'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml b/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml index 59b46fc..c357436 100644 --- a/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml @@ -6,33 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","comment":""}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['918'] + content-length: ['914'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:09 GMT'] + date: ['Wed, 30 May 2018 07:50:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630429.196481,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666603.403394,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -40,48 +39,48 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4697'] + content-length: ['4691'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:09 GMT'] + date: ['Wed, 30 May 2018 07:50:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630429.406520,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666604.630274,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/deactivate + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['230'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:10 GMT'] - fastly-ratelimit-remaining: ['728'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:04 GMT'] + fastly-ratelimit-remaining: ['445'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630430.587919,VS0,VE496'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666604.813528,VS0,VE488'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +89,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:10 GMT'] - fastly-ratelimit-remaining: ['727'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:04 GMT'] + fastly-ratelimit-remaining: ['444'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630430.215215,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666604.361338,VS0,VE433'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml b/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml index 9fb0bc1..30a12de 100644 --- a/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml +++ b/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml @@ -6,33 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","comment":""}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['683'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:57 GMT'] + date: ['Wed, 30 May 2018 07:49:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630417.963921,VS0,VE190'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666591.122984,VS0,VE141'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:50Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -40,72 +40,72 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3993'] + content-length: ['3988'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:57 GMT'] + date: ['Wed, 30 May 2018 07:49:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630417.226879,VS0,VE107'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666591.326112,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/clone + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:50Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['232'] + content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:57 GMT'] - fastly-ratelimit-remaining: ['740'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:51 GMT'] + fastly-ratelimit-remaining: ['457'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630417.408926,VS0,VE477'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666592.500627,VS0,VE483'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/domain + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","created_at":"2018-05-29T21:46:52Z","comment":"","updated_at":"2018-05-29T21:46:52Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"7T27QZVim1yFRflkNhDcG","created_at":"2018-05-30T07:49:48Z","comment":"","updated_at":"2018-05-30T07:49:48Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['181'] + content-length: ['180'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:58 GMT'] + date: ['Wed, 30 May 2018 07:49:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630418.028768,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666592.043487,VS0,VE519'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/healthcheck + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:58 GMT'] + date: ['Wed, 30 May 2018 07:49:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630419.539843,VS0,VE372'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666593.623660,VS0,VE934'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/condition + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,45 +139,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:59 GMT'] + date: ['Wed, 30 May 2018 07:49:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630419.998408,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666594.617331,VS0,VE189'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/backend + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:46:53Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:46:53Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:49:48Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"7T27QZVim1yFRflkNhDcG","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:49:48Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['718'] + content-length: ['717'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:59 GMT'] + date: ['Wed, 30 May 2018 07:49:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630419.434783,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666594.867861,VS0,VE491'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/director + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +187,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:59 GMT'] + date: ['Wed, 30 May 2018 07:49:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630420.631803,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666594.419961,VS0,VE470'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/cache_settings + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:00 GMT'] + date: ['Wed, 30 May 2018 07:49:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630420.861657,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666595.951354,VS0,VE412'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/gzip + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,46 +235,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:00 GMT'] + date: ['Wed, 30 May 2018 07:49:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630420.088376,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666595.422448,VS0,VE383'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/header + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:46:53Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:46:53Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"7T27QZVim1yFRflkNhDcG","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:49:48Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:49:48Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['415'] + content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:00 GMT'] + date: ['Wed, 30 May 2018 07:49:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630421.528296,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666596.864601,VS0,VE163'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/request_settings + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,46 +284,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:00 GMT'] + date: ['Wed, 30 May 2018 07:49:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630421.754147,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666596.088151,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/response_object + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","cache_condition":"","created_at":"2018-05-29T21:46:54Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:46:54Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"7T27QZVim1yFRflkNhDcG","cache_condition":"","created_at":"2018-05-30T07:49:49Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:49:49Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['280'] + content-length: ['279'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:01 GMT'] + date: ['Wed, 30 May 2018 07:49:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630421.959729,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666596.266251,VS0,VE169'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/snippet + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +333,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:01 GMT'] + date: ['Wed, 30 May 2018 07:49:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630421.187488,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666596.495836,VS0,VE169'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/logging/s3 + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +357,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:02 GMT'] + date: ['Wed, 30 May 2018 07:49:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630422.658030,VS0,VE375'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666597.726324,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/domain/example8000.com + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:02 GMT'] - fastly-ratelimit-remaining: ['739'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:57 GMT'] + fastly-ratelimit-remaining: ['456'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630422.106699,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666597.953367,VS0,VE462'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/backend/localhost + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:03 GMT'] - fastly-ratelimit-remaining: ['738'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:57 GMT'] + fastly-ratelimit-remaining: ['455'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630423.605182,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666597.476038,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:03 GMT'] - fastly-ratelimit-remaining: ['737'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:58 GMT'] + fastly-ratelimit-remaining: ['454'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630423.107379,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666598.009717,VS0,VE497'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,41 +455,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:04 GMT'] - fastly-ratelimit-remaining: ['736'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:58 GMT'] + fastly-ratelimit-remaining: ['453'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630424.596726,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666599.566471,VS0,VE170'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/domain + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":3,"deleted_at":null,"created_at":"2018-05-29T21:47:04Z","updated_at":"2018-05-29T21:47:04Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7T27QZVim1yFRflkNhDcG","version":3,"deleted_at":null,"created_at":"2018-05-30T07:49:59Z","updated_at":"2018-05-30T07:49:59Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['179'] + content-length: ['178'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:04 GMT'] - fastly-ratelimit-remaining: ['735'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:59 GMT'] + fastly-ratelimit-remaining: ['452'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630424.296840,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666599.796702,VS0,VE540'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "test_healthcheck", "http_version": @@ -499,25 +499,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/healthcheck + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/healthcheck response: - body: {string: !!python/unicode '{"comment":"","name":"test_healthcheck","http_version":"1.1","window":5,"initial":4,"timeout":5000,"host":"example8000.com","expected_response":200,"check_interval":15000,"threshold":3,"path":"/healthcheck","method":"GET","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":3,"updated_at":"2018-05-29T21:47:05Z","deleted_at":null,"created_at":"2018-05-29T21:47:05Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"test_healthcheck","http_version":"1.1","window":5,"initial":4,"timeout":5000,"host":"example8000.com","expected_response":200,"check_interval":15000,"threshold":3,"path":"/healthcheck","method":"GET","service_id":"7T27QZVim1yFRflkNhDcG","version":3,"updated_at":"2018-05-30T07:49:59Z","deleted_at":null,"created_at":"2018-05-30T07:49:59Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['362'] + content-length: ['361'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:05 GMT'] - fastly-ratelimit-remaining: ['734'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:59 GMT'] + fastly-ratelimit-remaining: ['451'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630425.800388,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666599.421027,VS0,VE491'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -528,25 +528,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/backend + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":"test_healthcheck","first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:05Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:05Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":"test_healthcheck","first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7T27QZVim1yFRflkNhDcG","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:00Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:00Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['730'] + content-length: ['729'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:05 GMT'] - fastly-ratelimit-remaining: ['733'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:00 GMT'] + fastly-ratelimit-remaining: ['450'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630425.279511,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666600.973596,VS0,VE231'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -556,26 +556,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/header + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"3","updated_at":"2018-05-29T21:47:06Z","deleted_at":null,"created_at":"2018-05-29T21:47:06Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7T27QZVim1yFRflkNhDcG","version":"3","updated_at":"2018-05-30T07:50:00Z","deleted_at":null,"created_at":"2018-05-30T07:50:00Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['413'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:06 GMT'] - fastly-ratelimit-remaining: ['732'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:00 GMT'] + fastly-ratelimit-remaining: ['449'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630426.766454,VS0,VE394'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666600.264727,VS0,VE158'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -583,87 +583,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/response_object + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:06Z","updated_at":"2018-05-29T21:47:06Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7T27QZVim1yFRflkNhDcG","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:00Z","updated_at":"2018-05-30T07:50:00Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['278'] + content-length: ['277'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:06 GMT'] - fastly-ratelimit-remaining: ['731'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:00 GMT'] + fastly-ratelimit-remaining: ['448'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630426.233476,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666600.483579,VS0,VE443'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/settings + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"7T27QZVim1yFRflkNhDcG"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['194'] + content-length: ['193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:07 GMT'] - fastly-ratelimit-remaining: ['730'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:01 GMT'] + fastly-ratelimit-remaining: ['447'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630427.699382,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666601.986094,VS0,VE484'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/activate + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:06Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:00Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['241'] + content-length: ['240'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:08 GMT'] - fastly-ratelimit-remaining: ['729'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:02 GMT'] + fastly-ratelimit-remaining: ['446'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630427.197872,VS0,VE1067'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666602.531644,VS0,VE879'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -671,16 +671,16 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4697'] + content-length: ['4691'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:08 GMT'] + date: ['Wed, 30 May 2018 07:50:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630428.371640,VS0,VE144'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666602.470638,VS0,VE159'] status: {code: 200, message: OK} - request: body: null @@ -689,33 +689,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","comment":""}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['918'] + content-length: ['914'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:08 GMT'] + date: ['Wed, 30 May 2018 07:50:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630429.592163,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666603.690975,VS0,VE154'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -723,27 +722,27 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4697'] + content-length: ['4691'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:08 GMT'] + date: ['Wed, 30 May 2018 07:50:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630429.805048,VS0,VE109'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666603.909730,VS0,VE219'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -751,15 +750,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4697'] + content-length: ['4691'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:09 GMT'] + date: ['Wed, 30 May 2018 07:50:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630429.986289,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666603.192887,VS0,VE132'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyS3s_tearDown.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml similarity index 64% rename from tests/fixtures/cassettes/TestFastlyS3s_tearDown.yml rename to tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml index d7f1855..87e1967 100644 --- a/tests/fixtures/cassettes/TestFastlyS3s_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml @@ -6,34 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['1150'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:47 GMT'] + date: ['Wed, 30 May 2018 07:47:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630227.088495,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666422.934690,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -44,46 +43,46 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:47 GMT'] + date: ['Wed, 30 May 2018 07:47:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630227.304582,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666422.398742,VS0,VE178'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/deactivate + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:47 GMT'] - fastly-ratelimit-remaining: ['919'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:03 GMT'] + fastly-ratelimit-remaining: ['636'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630227.490178,VS0,VE454'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666423.633475,VS0,VE485'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -92,15 +91,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:48 GMT'] - fastly-ratelimit-remaining: ['918'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:03 GMT'] + fastly-ratelimit-remaining: ['635'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630228.018339,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666423.173910,VS0,VE474'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml similarity index 68% rename from tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s.yml rename to tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml index 97398c8..1df6e19 100644 --- a/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:34 GMT'] + date: ['Wed, 30 May 2018 07:46:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630214.120866,VS0,VE135'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666411.949550,VS0,VE142'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","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":"0","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\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" 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 - 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-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","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":"0","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\" + 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:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" 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 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}}}'} headers: @@ -42,48 +42,48 @@ interactions: connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:34 GMT'] + date: ['Wed, 30 May 2018 07:46:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630214.327984,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666411.153101,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/clone + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:34 GMT'] - fastly-ratelimit-remaining: ['932'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:51 GMT'] + fastly-ratelimit-remaining: ['649'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630215.522057,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666411.332165,VS0,VE210'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/domain + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/domain response: - body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","created_at":"2018-05-29T21:43:29Z","comment":"","updated_at":"2018-05-29T21:43:29Z"}]'} + body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","created_at":"2018-05-30T07:46:47Z","comment":"","updated_at":"2018-05-30T07:46:47Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +91,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:35 GMT'] + date: ['Wed, 30 May 2018 07:46:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630215.035820,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666412.603396,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/healthcheck + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:35 GMT'] + date: ['Wed, 30 May 2018 07:46:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630216.512340,VS0,VE400'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666412.782181,VS0,VE422'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/condition + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +139,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:36 GMT'] + date: ['Wed, 30 May 2018 07:46:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630216.987927,VS0,VE372'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666412.266520,VS0,VE390'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/backend + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:43:29Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:43:29Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:46:47Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:46:47Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +163,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:36 GMT'] + date: ['Wed, 30 May 2018 07:46:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630216.433754,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666413.715454,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/director + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,23 +187,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:36 GMT'] + date: ['Wed, 30 May 2018 07:46:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630217.878173,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666413.902816,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/cache_settings + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/cache_settings response: - body: {string: !!python/unicode '[{"stale_ttl":"0","version":"4","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:30Z","action":null,"updated_at":"2018-05-29T21:43:30Z"}]'} + body: {string: !!python/unicode '[{"stale_ttl":"0","version":"4","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","cache_condition":"","created_at":"2018-05-30T07:46:48Z","action":null,"updated_at":"2018-05-30T07:46:48Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -211,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['243'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:37 GMT'] + date: ['Wed, 30 May 2018 07:46:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630217.068846,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666413.090566,VS0,VE132'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/gzip + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +235,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:37 GMT'] + date: ['Wed, 30 May 2018 07:46:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630218.553520,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666413.284488,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/header + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"2ElZpLWBqaLapYb4nPpjID","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:43:30Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:43:30Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"4QTALGNdYy2aTC1pf08MkQ","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:46:48Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:46:48Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +260,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:38 GMT'] + date: ['Wed, 30 May 2018 07:46:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630218.993027,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666413.470212,VS0,VE458'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/request_settings + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +284,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:38 GMT'] + date: ['Wed, 30 May 2018 07:46:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630218.192534,VS0,VE374'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666414.989906,VS0,VE451'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/response_object + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"4","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:31Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:43:31Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","cache_condition":"","created_at":"2018-05-30T07:46:48Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:46:48Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +309,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:39 GMT'] + date: ['Wed, 30 May 2018 07:46:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630219.645480,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666414.499661,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/snippet + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +333,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:39 GMT'] + date: ['Wed, 30 May 2018 07:46:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630219.083570,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666415.691963,VS0,VE407'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/logging/s3 + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +357,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:39 GMT'] + date: ['Wed, 30 May 2018 07:46:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630220.516529,VS0,VE376'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666415.160135,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/domain/example8000.com + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:40 GMT'] - fastly-ratelimit-remaining: ['931'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:55 GMT'] + fastly-ratelimit-remaining: ['648'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630220.968948,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666415.345740,VS0,VE180'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/backend/localhost + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:40 GMT'] - fastly-ratelimit-remaining: ['930'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:55 GMT'] + fastly-ratelimit-remaining: ['647'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630220.203529,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666416.586430,VS0,VE206'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/cache_settings/cache-settings-config-name + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/cache_settings/cache-settings-config-name response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:41 GMT'] - fastly-ratelimit-remaining: ['929'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:56 GMT'] + fastly-ratelimit-remaining: ['646'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630221.689474,VS0,VE454'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666416.853516,VS0,VE222'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/header/Set%20Location%20header + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,23 +455,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:41 GMT'] - fastly-ratelimit-remaining: ['928'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:56 GMT'] + fastly-ratelimit-remaining: ['645'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630221.317953,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666416.138390,VS0,VE208'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -480,41 +480,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:41 GMT'] - fastly-ratelimit-remaining: ['927'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:56 GMT'] + fastly-ratelimit-remaining: ['644'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630222.555137,VS0,VE219'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666416.407460,VS0,VE485'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/domain + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2ElZpLWBqaLapYb4nPpjID","version":4,"deleted_at":null,"created_at":"2018-05-29T21:43:41Z","updated_at":"2018-05-29T21:43:41Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":4,"deleted_at":null,"created_at":"2018-05-30T07:46:57Z","updated_at":"2018-05-30T07:46:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:42 GMT'] - fastly-ratelimit-remaining: ['926'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:57 GMT'] + fastly-ratelimit-remaining: ['643'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630222.849605,VS0,VE194'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666417.982985,VS0,VE247'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -525,25 +525,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/backend + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:42Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:42Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:46:57Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:46:57Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:42 GMT'] - fastly-ratelimit-remaining: ['925'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:57 GMT'] + fastly-ratelimit-remaining: ['642'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630222.120158,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666417.292022,VS0,VE499'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -553,26 +553,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/header + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":"4","updated_at":"2018-05-29T21:43:42Z","deleted_at":null,"created_at":"2018-05-29T21:43:42Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"4","updated_at":"2018-05-30T07:46:58Z","deleted_at":null,"created_at":"2018-05-30T07:46:58Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:42 GMT'] - fastly-ratelimit-remaining: ['924'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:58 GMT'] + fastly-ratelimit-remaining: ['641'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630222.354577,VS0,VE396'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666418.849367,VS0,VE485'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -580,26 +580,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/response_object + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:43Z","updated_at":"2018-05-29T21:43:43Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:46:58Z","updated_at":"2018-05-30T07:46:58Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:43 GMT'] - fastly-ratelimit-remaining: ['923'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:58 GMT'] + fastly-ratelimit-remaining: ['640'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630223.829925,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666418.397016,VS0,VE483'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"access_key": "ACCESS_KEY", "domain": "example8000.com", @@ -611,88 +611,88 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/logging/s3 + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/logging/s3 response: body: {string: !!python/unicode '{"access_key":"ACCESS_KEY","domain":"example8000.com","redundancy":"standard","placement":null,"name":"test_s3","format_version":"2","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b","server_side_encryption_kms_key_id":null,"period":"60","bucket_name":"prod-fastly-logs","path":"/","gzip_level":"0","secret_key":"SECRET","message_type":"classic","server_side_encryption":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","response_condition":"","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"4","public_key":null,"updated_at":"2018-05-29T21:43:43Z","deleted_at":null,"created_at":"2018-05-29T21:43:43Z"}'} + %h \"%r\" %\u003es %b","server_side_encryption_kms_key_id":null,"period":"60","bucket_name":"prod-fastly-logs","path":"/","gzip_level":"0","secret_key":"SECRET","message_type":"classic","server_side_encryption":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","response_condition":"","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"4","public_key":null,"updated_at":"2018-05-30T07:46:59Z","deleted_at":null,"created_at":"2018-05-30T07:46:59Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['609'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:43 GMT'] - fastly-ratelimit-remaining: ['922'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:59 GMT'] + fastly-ratelimit-remaining: ['639'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630223.362079,VS0,VE547'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666419.942908,VS0,VE417'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/settings + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"4QTALGNdYy2aTC1pf08MkQ"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:44 GMT'] - fastly-ratelimit-remaining: ['921'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:46:59 GMT'] + fastly-ratelimit-remaining: ['638'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630224.984600,VS0,VE443'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666419.429998,VS0,VE469'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/activate + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:43Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:59Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:45 GMT'] - fastly-ratelimit-remaining: ['920'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:00 GMT'] + fastly-ratelimit-remaining: ['637'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630225.593239,VS0,VE895'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666420.956822,VS0,VE952'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -703,14 +703,14 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:46 GMT'] + date: ['Wed, 30 May 2018 07:47:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630226.617466,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666421.965903,VS0,VE220'] status: {code: 200, message: OK} - request: body: null @@ -719,7 +719,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -727,26 +727,26 @@ interactions: connection: [keep-alive] content-length: ['1150'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:46 GMT'] + date: ['Wed, 30 May 2018 07:47:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630226.130481,VS0,VE442'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666421.241472,VS0,VE184'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -757,26 +757,26 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:46 GMT'] + date: ['Wed, 30 May 2018 07:47:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630227.641486,VS0,VE149'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666421.480557,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -787,13 +787,13 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:46 GMT'] + date: ['Wed, 30 May 2018 07:47:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630227.864419,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666422.663333,VS0,VE195'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s_remove.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml similarity index 69% rename from tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s_remove.yml rename to tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml index d829475..497c3db 100644 --- a/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s_remove.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:48 GMT'] + date: ['Wed, 30 May 2018 07:47:03 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630229.534169,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666424.714024,VS0,VE125'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"d9f49b1ab576116b22f4b9cf28d9f4057cbba4ea","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:43:49Z","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} + Ansible Module Test","publish_key":"d3524e6f32af1ea4b4bc9c60d6317d1cddcb2481","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:47:04Z","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:49 GMT'] - fastly-ratelimit-remaining: ['917'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:04 GMT'] + fastly-ratelimit-remaining: ['634'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630229.730897,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666424.895590,VS0,VE439'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:49Z","active":false,"number":1,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:43:49Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:04Z","active":false,"number":1,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:47:04Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:49 GMT'] + date: ['Wed, 30 May 2018 07:47:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630229.199158,VS0,VE441'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666424.391269,VS0,VE439'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/1/clone + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:50 GMT'] - fastly-ratelimit-remaining: ['916'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:05 GMT'] + fastly-ratelimit-remaining: ['633'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630230.942018,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666425.880931,VS0,VE224'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/domain + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:50 GMT'] + date: ['Wed, 30 May 2018 07:47:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630230.451985,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666425.157425,VS0,VE418'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/healthcheck + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:51 GMT'] + date: ['Wed, 30 May 2018 07:47:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630231.890215,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666426.628217,VS0,VE386'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/condition + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:51 GMT'] + date: ['Wed, 30 May 2018 07:47:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630231.322988,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666426.068603,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/backend + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:51 GMT'] + date: ['Wed, 30 May 2018 07:47:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630232.510736,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666426.256070,VS0,VE417'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/director + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:51 GMT'] + date: ['Wed, 30 May 2018 07:47:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630232.737977,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666427.726203,VS0,VE422'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/cache_settings + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:52 GMT'] + date: ['Wed, 30 May 2018 07:47:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630232.929566,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666427.204484,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/gzip + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:52 GMT'] + date: ['Wed, 30 May 2018 07:47:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630232.362485,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666427.376296,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/header + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:52 GMT'] + date: ['Wed, 30 May 2018 07:47:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630233.554434,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666428.549576,VS0,VE369'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/request_settings + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:52 GMT'] + date: ['Wed, 30 May 2018 07:47:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630233.749209,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666428.977986,VS0,VE454'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/response_object + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:53 GMT'] + date: ['Wed, 30 May 2018 07:47:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630233.980379,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666428.490737,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/snippet + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:53 GMT'] + date: ['Wed, 30 May 2018 07:47:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630233.425130,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666429.700672,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/logging/s3 + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,39 +378,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:53 GMT'] + date: ['Wed, 30 May 2018 07:47:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630234.864720,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666429.915071,VS0,VE145'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/domain + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":2,"deleted_at":null,"created_at":"2018-05-29T21:43:54Z","updated_at":"2018-05-29T21:43:54Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"51QLfHG1zvS1YZjizF8nPK","version":2,"deleted_at":null,"created_at":"2018-05-30T07:47:09Z","updated_at":"2018-05-30T07:47:09Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:54 GMT'] - fastly-ratelimit-remaining: ['915'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:09 GMT'] + fastly-ratelimit-remaining: ['632'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630234.057285,VS0,VE184'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666429.116618,VS0,VE548'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -421,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/backend + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:54Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:54Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:47:09Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:09Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:54 GMT'] - fastly-ratelimit-remaining: ['914'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:09 GMT'] + fastly-ratelimit-remaining: ['631'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630234.316445,VS0,VE169'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666430.724529,VS0,VE205'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -449,26 +449,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/header + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"2","updated_at":"2018-05-29T21:43:54Z","deleted_at":null,"created_at":"2018-05-29T21:43:54Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","version":"2","updated_at":"2018-05-30T07:47:10Z","deleted_at":null,"created_at":"2018-05-30T07:47:10Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:54 GMT'] - fastly-ratelimit-remaining: ['913'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:10 GMT'] + fastly-ratelimit-remaining: ['630'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630235.559505,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666430.989738,VS0,VE166'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -476,87 +476,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/response_object + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:55Z","updated_at":"2018-05-29T21:43:55Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"51QLfHG1zvS1YZjizF8nPK","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:47:10Z","updated_at":"2018-05-30T07:47:10Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:55 GMT'] - fastly-ratelimit-remaining: ['912'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:10 GMT'] + fastly-ratelimit-remaining: ['629'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630235.137780,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666430.213567,VS0,VE427'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/settings + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2tI8MfAHvk4zqv70RFDCq6"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"51QLfHG1zvS1YZjizF8nPK"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:55 GMT'] - fastly-ratelimit-remaining: ['911'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:10 GMT'] + fastly-ratelimit-remaining: ['628'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] - x-timer: ['S1527630235.365847,VS0,VE462'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666431.700139,VS0,VE192'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/activate + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:55Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:10Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:56 GMT'] - fastly-ratelimit-remaining: ['910'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:11 GMT'] + fastly-ratelimit-remaining: ['627'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630236.974935,VS0,VE879'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666431.950853,VS0,VE650'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:11Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -566,14 +566,14 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:57 GMT'] + date: ['Wed, 30 May 2018 07:47:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630237.925914,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666432.659415,VS0,VE156'] status: {code: 200, message: OK} - request: body: null @@ -582,32 +582,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":""}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","comment":""}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:57 GMT'] + date: ['Wed, 30 May 2018 07:47:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630237.149203,VS0,VE446'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666432.874212,VS0,VE146'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:11Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -617,25 +618,25 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:57 GMT'] + date: ['Wed, 30 May 2018 07:47:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630238.676655,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666432.078062,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:11Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -645,13 +646,13 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:57 GMT'] + date: ['Wed, 30 May 2018 07:47:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630238.857283,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666432.268433,VS0,VE127'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml index 1fe665c..e040ef6 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml @@ -6,33 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":""}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","comment":""}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['683'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:36 GMT'] + date: ['Wed, 30 May 2018 07:50:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630456.379748,VS0,VE193'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666623.524985,VS0,VE181'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/details + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:21Z","deployed":false}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -40,48 +40,48 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4577'] + content-length: ['4572'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:36 GMT'] + date: ['Wed, 30 May 2018 07:50:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630457.645469,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666623.766015,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/deactivate + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:21Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['230'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:37 GMT'] - fastly-ratelimit-remaining: ['707'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:23 GMT'] + fastly-ratelimit-remaining: ['424'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630457.861674,VS0,VE490'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666623.942871,VS0,VE168'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:37 GMT'] - fastly-ratelimit-remaining: ['706'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:23 GMT'] + fastly-ratelimit-remaining: ['423'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630457.422537,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666623.171156,VS0,VE432'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml index dfd28ef..3ca6022 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml @@ -10,18 +10,19 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:23 GMT'] + date: ['Wed, 30 May 2018 07:50:13 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630443.786639,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666614.845218,VS0,VE116'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -31,79 +32,79 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"4247ac7442d18f13ee9f0616cc41a77a6a36b5fa","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:47:23Z","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW"}'} + Ansible Module Test","publish_key":"21c505b047c044ef32c444b74411493bf13e3f17","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['512'] + content-length: ['510'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:23 GMT'] - fastly-ratelimit-remaining: ['716'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:14 GMT'] + fastly-ratelimit-remaining: ['433'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630443.259520,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666614.017731,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/details + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:23Z","active":false,"number":1,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:47:23Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:14Z","active":false,"number":1,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1107'] + content-length: ['1104'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:23 GMT'] + date: ['Wed, 30 May 2018 07:50:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630444.751922,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666614.225590,VS0,VE154'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/1/clone + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['232'] + content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:24 GMT'] - fastly-ratelimit-remaining: ['715'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:14 GMT'] + fastly-ratelimit-remaining: ['432'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630444.973581,VS0,VE234'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666614.438989,VS0,VE200'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/domain + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:24 GMT'] + date: ['Wed, 30 May 2018 07:50:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630444.281279,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666615.698402,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/healthcheck + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -137,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:25 GMT'] + date: ['Wed, 30 May 2018 07:50:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630445.753684,VS0,VE475'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666615.878353,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/condition + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -161,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:25 GMT'] + date: ['Wed, 30 May 2018 07:50:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630445.301835,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666615.061096,VS0,VE383'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/backend + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:25 GMT'] + date: ['Wed, 30 May 2018 07:50:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630445.487423,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666616.502883,VS0,VE133'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/director + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:26 GMT'] + date: ['Wed, 30 May 2018 07:50:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630446.970255,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666616.695241,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/cache_settings + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -233,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:26 GMT'] + date: ['Wed, 30 May 2018 07:50:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630446.408983,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666616.880357,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/gzip + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -257,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:26 GMT'] + date: ['Wed, 30 May 2018 07:50:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630447.593638,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666616.060950,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/header + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -281,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:27 GMT'] + date: ['Wed, 30 May 2018 07:50:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630447.029684,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666616.280339,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/request_settings + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -305,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:27 GMT'] + date: ['Wed, 30 May 2018 07:50:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630448.506938,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666616.462723,VS0,VE404'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/response_object + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -329,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:28 GMT'] + date: ['Wed, 30 May 2018 07:50:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630448.739476,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666617.923104,VS0,VE392'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/snippet + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -353,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:28 GMT'] + date: ['Wed, 30 May 2018 07:50:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630448.215026,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666617.373786,VS0,VE422'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/logging/s3 + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -377,39 +378,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:28 GMT'] + date: ['Wed, 30 May 2018 07:50:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630448.443070,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666618.855786,VS0,VE129'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/domain + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":2,"deleted_at":null,"created_at":"2018-05-29T21:47:29Z","updated_at":"2018-05-29T21:47:29Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"fsIbQNCIafZLnlJlci6re","version":2,"deleted_at":null,"created_at":"2018-05-30T07:50:18Z","updated_at":"2018-05-30T07:50:18Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['179'] + content-length: ['178'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:29 GMT'] - fastly-ratelimit-remaining: ['714'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:18 GMT'] + fastly-ratelimit-remaining: ['431'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630449.883457,VS0,VE442'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666618.044476,VS0,VE499'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -420,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/backend + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:29Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:29Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"fsIbQNCIafZLnlJlci6re","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:18Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:18Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['716'] + content-length: ['715'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:29 GMT'] - fastly-ratelimit-remaining: ['713'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:19 GMT'] + fastly-ratelimit-remaining: ['430'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630449.401053,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666619.600538,VS0,VE474'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -448,26 +449,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/header + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":"2","updated_at":"2018-05-29T21:47:30Z","deleted_at":null,"created_at":"2018-05-29T21:47:30Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"fsIbQNCIafZLnlJlci6re","version":"2","updated_at":"2018-05-30T07:50:19Z","deleted_at":null,"created_at":"2018-05-30T07:50:19Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['413'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:30 GMT'] - fastly-ratelimit-remaining: ['712'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:19 GMT'] + fastly-ratelimit-remaining: ['429'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630450.902284,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666619.135136,VS0,VE165'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"request_condition": "", "name": "request-setting-config-name", @@ -477,25 +478,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/request_settings + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/request_settings response: - body: {string: !!python/unicode '{"request_condition":"","name":"request-setting-config-name","force_miss":"1","xff":"append","bypass_busy_wait":"1","timer_support":"1","force_ssl":"1","action":"pass","geo_headers":"1","default_host":"example.net","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":30,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":"2","updated_at":"2018-05-29T21:47:30Z","deleted_at":null,"created_at":"2018-05-29T21:47:30Z"}'} + body: {string: !!python/unicode '{"request_condition":"","name":"request-setting-config-name","force_miss":"1","xff":"append","bypass_busy_wait":"1","timer_support":"1","force_ssl":"1","action":"pass","geo_headers":"1","default_host":"example.net","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":30,"service_id":"fsIbQNCIafZLnlJlci6re","version":"2","updated_at":"2018-05-30T07:50:19Z","deleted_at":null,"created_at":"2018-05-30T07:50:19Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['432'] + content-length: ['431'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:30 GMT'] - fastly-ratelimit-remaining: ['711'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:19 GMT'] + fastly-ratelimit-remaining: ['428'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630450.418447,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666619.358917,VS0,VE151'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -503,87 +504,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/response_object + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:31Z","updated_at":"2018-05-29T21:47:31Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"fsIbQNCIafZLnlJlci6re","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:19Z","updated_at":"2018-05-30T07:50:19Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['278'] + content-length: ['277'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:31 GMT'] - fastly-ratelimit-remaining: ['710'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:19 GMT'] + fastly-ratelimit-remaining: ['427'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630451.891957,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666620.569455,VS0,VE426'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/settings + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"fsIbQNCIafZLnlJlci6re"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['194'] + content-length: ['193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:32 GMT'] - fastly-ratelimit-remaining: ['709'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:20 GMT'] + fastly-ratelimit-remaining: ['426'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630451.362201,VS0,VE1010'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666620.055858,VS0,VE398'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/activate + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:31Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:19Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['241'] + content-length: ['240'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:35 GMT'] - fastly-ratelimit-remaining: ['708'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:21 GMT'] + fastly-ratelimit-remaining: ['425'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630452.450103,VS0,VE2591'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666621.515052,VS0,VE635'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/details + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:21Z","deployed":false}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -591,16 +592,16 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4577'] + content-length: ['4572'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:35 GMT'] + date: ['Wed, 30 May 2018 07:50:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630455.114062,VS0,VE519'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666621.210271,VS0,VE411'] status: {code: 200, message: OK} - request: body: null @@ -609,32 +610,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":""}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","comment":""}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['683'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:35 GMT'] + date: ['Wed, 30 May 2018 07:50:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630456.708973,VS0,VE174'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666622.684328,VS0,VE401'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/details + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:21Z","deployed":false}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -642,27 +643,27 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4577'] + content-length: ['4572'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:36 GMT'] + date: ['Wed, 30 May 2018 07:50:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630456.961087,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666622.145992,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/details + uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:21Z","deployed":false}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -670,15 +671,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4577'] + content-length: ['4572'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:36 GMT'] + date: ['Wed, 30 May 2018 07:50:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630456.163710,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666622.321760,VS0,VE122'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml index d3abb14..8ada4a1 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:38 GMT'] + date: ['Wed, 30 May 2018 07:50:23 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630458.893967,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666624.671926,VS0,VE120'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,79 +32,79 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"aa77951407e41e3ff9599ee4c78b8c78296f2b98","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:47:38Z","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} + Ansible Module Test","publish_key":"3a1b05ae6fe08d1dd3d1785d0a56278094e4dad3","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:50:23Z","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['512'] + content-length: ['510'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:38 GMT'] - fastly-ratelimit-remaining: ['705'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:23 GMT'] + fastly-ratelimit-remaining: ['422'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630458.100976,VS0,VE389'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666624.852855,VS0,VE147'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:38Z","active":false,"number":1,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:47:38Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:23Z","active":false,"number":1,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:50:23Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1107'] + content-length: ['1104'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:38 GMT'] + date: ['Wed, 30 May 2018 07:50:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630459.561668,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666624.056811,VS0,VE161'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/1/clone + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['232'] + content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:39 GMT'] - fastly-ratelimit-remaining: ['704'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:24 GMT'] + fastly-ratelimit-remaining: ['421'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630459.783422,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666624.278028,VS0,VE464'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/domain + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:39 GMT'] + date: ['Wed, 30 May 2018 07:50:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630459.296428,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666625.801428,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/healthcheck + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:39 GMT'] + date: ['Wed, 30 May 2018 07:50:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630460.807248,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666625.987337,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/condition + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:40 GMT'] + date: ['Wed, 30 May 2018 07:50:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630460.047625,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666625.178258,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/backend + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:40 GMT'] + date: ['Wed, 30 May 2018 07:50:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630460.493473,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666625.364260,VS0,VE398'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/director + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:41 GMT'] + date: ['Wed, 30 May 2018 07:50:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630461.936028,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666626.821365,VS0,VE435'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/cache_settings + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:41 GMT'] + date: ['Wed, 30 May 2018 07:50:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630461.449232,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666626.317603,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/gzip + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:42 GMT'] + date: ['Wed, 30 May 2018 07:50:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630462.931661,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666627.504187,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/header + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:42 GMT'] + date: ['Wed, 30 May 2018 07:50:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630462.413861,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666627.689244,VS0,VE386'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/request_settings + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:42 GMT'] + date: ['Wed, 30 May 2018 07:50:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630463.851184,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666627.135915,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/response_object + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:43 GMT'] + date: ['Wed, 30 May 2018 07:50:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630463.047165,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666627.319719,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/snippet + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:43 GMT'] + date: ['Wed, 30 May 2018 07:50:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630463.239682,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666627.497209,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/logging/s3 + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,39 +378,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:44 GMT'] + date: ['Wed, 30 May 2018 07:50:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630464.680134,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666628.689463,VS0,VE126'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/domain + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":2,"deleted_at":null,"created_at":"2018-05-29T21:47:44Z","updated_at":"2018-05-29T21:47:44Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"qvsKnmSfExOg9cWUIvCNS","version":2,"deleted_at":null,"created_at":"2018-05-30T07:50:28Z","updated_at":"2018-05-30T07:50:28Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['179'] + content-length: ['178'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:44 GMT'] - fastly-ratelimit-remaining: ['703'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:28 GMT'] + fastly-ratelimit-remaining: ['420'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630464.172731,VS0,VE433'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666628.874702,VS0,VE488'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -421,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/backend + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:45Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:45Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:28Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:28Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['716'] + content-length: ['715'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:45 GMT'] - fastly-ratelimit-remaining: ['702'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:28 GMT'] + fastly-ratelimit-remaining: ['419'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630465.680626,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666628.422579,VS0,VE198'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -449,26 +449,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/header + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"2","updated_at":"2018-05-29T21:47:45Z","deleted_at":null,"created_at":"2018-05-29T21:47:45Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","version":"2","updated_at":"2018-05-30T07:50:28Z","deleted_at":null,"created_at":"2018-05-30T07:50:28Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['413'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:45 GMT'] - fastly-ratelimit-remaining: ['701'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:28 GMT'] + fastly-ratelimit-remaining: ['418'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630465.162399,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666629.679478,VS0,VE163'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -477,103 +477,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/response_object + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:45Z","updated_at":"2018-05-29T21:47:45Z"}'} + 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"qvsKnmSfExOg9cWUIvCNS","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:29Z","updated_at":"2018-05-30T07:50:29Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['305'] + content-length: ['304'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:46 GMT'] - fastly-ratelimit-remaining: ['700'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:29 GMT'] + fastly-ratelimit-remaining: ['417'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630466.638522,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666629.899621,VS0,VE466'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/settings + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"qvsKnmSfExOg9cWUIvCNS"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['194'] + content-length: ['193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:46 GMT'] - fastly-ratelimit-remaining: ['699'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:29 GMT'] + fastly-ratelimit-remaining: ['416'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630466.146426,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666629.426072,VS0,VE441'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/activate + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:46Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:29Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['241'] + content-length: ['240'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:47 GMT'] - fastly-ratelimit-remaining: ['698'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:30 GMT'] + fastly-ratelimit-remaining: ['415'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630467.069542,VS0,VE870'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666630.929520,VS0,VE626'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:30Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4047'] + content-length: ['4042'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:48 GMT'] + date: ['Wed, 30 May 2018 07:50:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630468.014916,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666631.615195,VS0,VE156'] status: {code: 200, message: OK} - request: body: null @@ -582,32 +583,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","comment":""}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['683'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:48 GMT'] + date: ['Wed, 30 May 2018 07:50:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630468.276248,VS0,VE462'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666631.828342,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:30Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: @@ -615,27 +617,27 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4047'] + content-length: ['4042'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:49 GMT'] + date: ['Wed, 30 May 2018 07:50:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630469.456195,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666631.025841,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:30Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: @@ -643,15 +645,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4047'] + content-length: ['4042'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:50 GMT'] + date: ['Wed, 30 May 2018 07:50:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630471.670663,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666631.203028,VS0,VE119'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml index b619aec..594ca4a 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":""}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","comment":""}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,74 +14,73 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:46 GMT'] + date: ['Wed, 30 May 2018 07:49:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630406.236157,VS0,VE132'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666581.079485,VS0,VE431'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/details + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:39Z","deployed":false}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:46 GMT'] + date: ['Wed, 30 May 2018 07:49:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630406.439997,VS0,VE133'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666582.569828,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/deactivate + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:39Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:47 GMT'] - fastly-ratelimit-remaining: ['750'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:42 GMT'] + fastly-ratelimit-remaining: ['467'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630407.647539,VS0,VE472'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666582.745215,VS0,VE467'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +89,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:47 GMT'] - fastly-ratelimit-remaining: ['749'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:42 GMT'] + fastly-ratelimit-remaining: ['466'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630407.186540,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666582.272616,VS0,VE555'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml index 751b72c..dde85fe 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml @@ -14,14 +14,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:37 GMT'] + date: ['Wed, 30 May 2018 07:49:31 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630397.789542,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666571.958832,VS0,VE383'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -31,32 +31,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"7049d6fb7d1036d315162182275b7f43d864e496","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:46:37Z","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT"}'} + Ansible Module Test","publish_key":"f1e018be221867521c33ca72753c43e2340cec3f","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:49:31Z","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:37 GMT'] - fastly-ratelimit-remaining: ['758'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:31 GMT'] + fastly-ratelimit-remaining: ['475'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630397.235133,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666571.401890,VS0,VE434'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/details + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:37Z","active":false,"number":1,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:46:37Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:31Z","active":false,"number":1,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:49:31Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -64,46 +64,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:38 GMT'] + date: ['Wed, 30 May 2018 07:49:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630398.707863,VS0,VE399'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666572.896600,VS0,VE455'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/1/clone + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:38 GMT'] - fastly-ratelimit-remaining: ['757'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:32 GMT'] + fastly-ratelimit-remaining: ['474'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630398.177016,VS0,VE449'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666572.411017,VS0,VE487'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/domain + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:38 GMT'] + date: ['Wed, 30 May 2018 07:49:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630399.701022,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666573.959215,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/healthcheck + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -137,21 +137,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:39 GMT'] + date: ['Wed, 30 May 2018 07:49:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630399.885721,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666573.141888,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/condition + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -161,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:39 GMT'] + date: ['Wed, 30 May 2018 07:49:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630399.090121,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666573.366036,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/backend + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:39 GMT'] + date: ['Wed, 30 May 2018 07:49:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630399.280597,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666574.592542,VS0,VE159'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/director + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:39 GMT'] + date: ['Wed, 30 May 2018 07:49:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630400.714362,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666574.812506,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/cache_settings + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -233,21 +233,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:40 GMT'] + date: ['Wed, 30 May 2018 07:49:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630400.901865,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666574.290165,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/gzip + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -257,21 +257,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:40 GMT'] + date: ['Wed, 30 May 2018 07:49:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630400.095760,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666574.479308,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/header + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -281,21 +281,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:40 GMT'] + date: ['Wed, 30 May 2018 07:49:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630400.286116,VS0,VE359'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666575.656839,VS0,VE161'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/request_settings + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -305,21 +305,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:40 GMT'] + date: ['Wed, 30 May 2018 07:49:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630401.793033,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666575.878465,VS0,VE392'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/response_object + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -329,21 +329,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:41 GMT'] + date: ['Wed, 30 May 2018 07:49:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630401.976313,VS0,VE132'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666575.331787,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/snippet + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -353,21 +353,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:41 GMT'] + date: ['Wed, 30 May 2018 07:49:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630401.184551,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666576.803182,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/logging/s3 + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -377,39 +377,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:41 GMT'] + date: ['Wed, 30 May 2018 07:49:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630401.378709,VS0,VE373'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666576.291160,VS0,VE125'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/domain + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5woSCM4smaL4MZsRWVcRAT","version":2,"deleted_at":null,"created_at":"2018-05-29T21:46:42Z","updated_at":"2018-05-29T21:46:42Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7hKPj8W5jAXNCp63bPD6uW","version":2,"deleted_at":null,"created_at":"2018-05-30T07:49:36Z","updated_at":"2018-05-30T07:49:36Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:42 GMT'] - fastly-ratelimit-remaining: ['756'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:36 GMT'] + fastly-ratelimit-remaining: ['473'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630402.851211,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666576.476005,VS0,VE486'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -420,25 +420,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/backend + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5woSCM4smaL4MZsRWVcRAT","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:42Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:42Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7hKPj8W5jAXNCp63bPD6uW","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:49:37Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:49:37Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:42 GMT'] - fastly-ratelimit-remaining: ['755'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:37 GMT'] + fastly-ratelimit-remaining: ['472'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527630402.469941,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666577.023486,VS0,VE476'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -448,26 +448,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/header + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5woSCM4smaL4MZsRWVcRAT","version":"2","updated_at":"2018-05-29T21:46:43Z","deleted_at":null,"created_at":"2018-05-29T21:46:43Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7hKPj8W5jAXNCp63bPD6uW","version":"2","updated_at":"2018-05-30T07:49:37Z","deleted_at":null,"created_at":"2018-05-30T07:49:37Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:43 GMT'] - fastly-ratelimit-remaining: ['754'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:37 GMT'] + fastly-ratelimit-remaining: ['471'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630403.956828,VS0,VE400'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666578.563148,VS0,VE425'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -476,87 +476,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/response_object + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"5woSCM4smaL4MZsRWVcRAT","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:43Z","updated_at":"2018-05-29T21:46:43Z"}'} + 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"7hKPj8W5jAXNCp63bPD6uW","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:49:38Z","updated_at":"2018-05-30T07:49:38Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['305'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:43 GMT'] - fastly-ratelimit-remaining: ['753'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:38 GMT'] + fastly-ratelimit-remaining: ['470'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630403.428834,VS0,VE433'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666578.050860,VS0,VE417'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/settings + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5woSCM4smaL4MZsRWVcRAT"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7hKPj8W5jAXNCp63bPD6uW"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:44 GMT'] - fastly-ratelimit-remaining: ['752'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:38 GMT'] + fastly-ratelimit-remaining: ['469'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630404.938351,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666579.528727,VS0,VE445'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/activate + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:43Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:38Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:45 GMT'] - fastly-ratelimit-remaining: ['751'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:39 GMT'] + fastly-ratelimit-remaining: ['468'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630404.438200,VS0,VE637'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666579.035251,VS0,VE896'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/details + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:39Z","deployed":false}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: @@ -566,14 +566,14 @@ interactions: connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:45 GMT'] + date: ['Wed, 30 May 2018 07:49:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630405.149624,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666580.992963,VS0,VE150'] status: {code: 200, message: OK} - request: body: null @@ -582,33 +582,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":""}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","comment":""}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:45 GMT'] + date: ['Wed, 30 May 2018 07:49:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630405.370565,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666580.204344,VS0,VE428'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/details + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:39Z","deployed":false}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: @@ -618,40 +617,41 @@ interactions: connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:45 GMT'] + date: ['Wed, 30 May 2018 07:49:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630406.844327,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666581.693930,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/details + uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:39Z","deployed":false}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:46 GMT'] + date: ['Wed, 30 May 2018 07:49:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630406.031339,VS0,VE105'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666581.875153,VS0,VE124'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml index 6958076..96a6bb8 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml @@ -10,18 +10,19 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:47 GMT'] + date: ['Wed, 30 May 2018 07:49:43 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630408.700423,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666583.900931,VS0,VE163'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -31,79 +32,79 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"ab7eff5f2bc925782bc216ce7577af6490bec3af","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:46:47Z","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + Ansible Module Test","publish_key":"062a4fac3ddc727de3f0a74b7dd5691a44e99126","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['512'] + content-length: ['510'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:48 GMT'] - fastly-ratelimit-remaining: ['748'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:43 GMT'] + fastly-ratelimit-remaining: ['465'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630408.891114,VS0,VE149'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666583.126456,VS0,VE449'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:47Z","active":false,"number":1,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:46:47Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:43Z","active":false,"number":1,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1107'] + content-length: ['1104'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:48 GMT'] + date: ['Wed, 30 May 2018 07:49:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630408.115696,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666584.635281,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/1/clone + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['232'] + content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:49 GMT'] - fastly-ratelimit-remaining: ['747'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:44 GMT'] + fastly-ratelimit-remaining: ['464'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630409.592099,VS0,VE467'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666584.848350,VS0,VE215'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/domain + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:49 GMT'] + date: ['Wed, 30 May 2018 07:49:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630409.144182,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666584.123386,VS0,VE156'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/healthcheck + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -137,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:49 GMT'] + date: ['Wed, 30 May 2018 07:49:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630409.328648,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666584.339565,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/condition + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -161,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:49 GMT'] + date: ['Wed, 30 May 2018 07:49:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630410.519659,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666585.519468,VS0,VE429'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/backend + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:50 GMT'] + date: ['Wed, 30 May 2018 07:49:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630410.963092,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666585.010548,VS0,VE173'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/director + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:50 GMT'] + date: ['Wed, 30 May 2018 07:49:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630410.152454,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666585.243966,VS0,VE393'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/cache_settings + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -233,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:50 GMT'] + date: ['Wed, 30 May 2018 07:49:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630410.353348,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666586.697907,VS0,VE162'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/gzip + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -257,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:50 GMT'] + date: ['Wed, 30 May 2018 07:49:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630411.543718,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666586.920499,VS0,VE423'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/header + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -281,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:51 GMT'] + date: ['Wed, 30 May 2018 07:49:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630411.026779,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666586.405770,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/request_settings + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -305,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:51 GMT'] + date: ['Wed, 30 May 2018 07:49:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630411.469331,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666587.582719,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/response_object + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -329,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:52 GMT'] + date: ['Wed, 30 May 2018 07:49:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630412.914102,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666587.051768,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/snippet + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -353,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:52 GMT'] + date: ['Wed, 30 May 2018 07:49:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630412.102002,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666587.269952,VS0,VE135'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/logging/s3 + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -377,39 +378,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:52 GMT'] + date: ['Wed, 30 May 2018 07:49:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630412.332748,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666587.465621,VS0,VE395'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/domain + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":2,"deleted_at":null,"created_at":"2018-05-29T21:46:52Z","updated_at":"2018-05-29T21:46:52Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7T27QZVim1yFRflkNhDcG","version":2,"deleted_at":null,"created_at":"2018-05-30T07:49:48Z","updated_at":"2018-05-30T07:49:48Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['179'] + content-length: ['178'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:52 GMT'] - fastly-ratelimit-remaining: ['746'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:48 GMT'] + fastly-ratelimit-remaining: ['463'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630413.522885,VS0,VE458'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666588.921709,VS0,VE195'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -420,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/backend + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:53Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"ipv6":null,"min_tls_version":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:53Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7T27QZVim1yFRflkNhDcG","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:49:48Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:49:48Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['716'] + content-length: ['715'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:53 GMT'] - fastly-ratelimit-remaining: ['745'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:48 GMT'] + fastly-ratelimit-remaining: ['462'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630413.057476,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666588.178235,VS0,VE177'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -448,26 +449,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/header + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"2","updated_at":"2018-05-29T21:46:53Z","deleted_at":null,"created_at":"2018-05-29T21:46:53Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7T27QZVim1yFRflkNhDcG","version":"2","updated_at":"2018-05-30T07:49:48Z","deleted_at":null,"created_at":"2018-05-30T07:49:48Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['413'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:53 GMT'] - fastly-ratelimit-remaining: ['744'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:48 GMT'] + fastly-ratelimit-remaining: ['461'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630414.562832,VS0,VE398'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666588.417456,VS0,VE411'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -475,87 +476,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/response_object + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:54Z","updated_at":"2018-05-29T21:46:54Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7T27QZVim1yFRflkNhDcG","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:49:49Z","updated_at":"2018-05-30T07:49:49Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['278'] + content-length: ['277'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:54 GMT'] - fastly-ratelimit-remaining: ['743'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:49 GMT'] + fastly-ratelimit-remaining: ['460'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630414.036331,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666589.890720,VS0,VE413'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/settings + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7T27QZVim1yFRflkNhDcG"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['194'] + content-length: ['193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:54 GMT'] - fastly-ratelimit-remaining: ['742'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:49 GMT'] + fastly-ratelimit-remaining: ['459'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630415.503045,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666589.364496,VS0,VE174'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/activate + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:54Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:49Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['241'] + content-length: ['240'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:55 GMT'] - fastly-ratelimit-remaining: ['741'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:49:50 GMT'] + fastly-ratelimit-remaining: ['458'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630415.056295,VS0,VE892'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666590.601456,VS0,VE588'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:50Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -563,16 +564,16 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3993'] + content-length: ['3988'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:56 GMT'] + date: ['Wed, 30 May 2018 07:49:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630416.081911,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666590.258412,VS0,VE144'] status: {code: 200, message: OK} - request: body: null @@ -581,59 +582,60 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","comment":""}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['683'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:56 GMT'] + date: ['Wed, 30 May 2018 07:49:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630416.304103,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666590.463189,VS0,VE151'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:50Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3993'] + content-length: ['3988'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:56 GMT'] + date: ['Wed, 30 May 2018 07:49:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630417.524357,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666591.675099,VS0,VE153'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:50Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -641,15 +643,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3993'] + content-length: ['3988'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:56 GMT'] + date: ['Wed, 30 May 2018 07:49:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630417.712066,VS0,VE106'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666591.890328,VS0,VE112'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml b/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml index f2316f7..c49ed2b 100644 --- a/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml @@ -6,81 +6,81 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":""}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","comment":""}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['683'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:21 GMT'] + date: ['Wed, 30 May 2018 07:50:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527630441.104684,VS0,VE135'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666613.944215,VS0,VE140'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/details + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:11Z","deployed":false}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3993'] + content-length: ['3988'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:21 GMT'] + date: ['Wed, 30 May 2018 07:50:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630441.312028,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666613.144107,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/deactivate + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:11Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['230'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:22 GMT'] - fastly-ratelimit-remaining: ['718'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:13 GMT'] + fastly-ratelimit-remaining: ['435'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630442.785045,VS0,VE458'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666613.321779,VS0,VE250'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,15 +89,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:22 GMT'] - fastly-ratelimit-remaining: ['717'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:13 GMT'] + fastly-ratelimit-remaining: ['434'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630442.319348,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666614.629944,VS0,VE145'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml b/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml index 066aa5e..a16704c 100644 --- a/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml +++ b/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:10 GMT'] + date: ['Wed, 30 May 2018 07:50:04 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630431.685459,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666605.865026,VS0,VE118'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,79 +32,79 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"03fd109c36b13d306f53f7a24d2e92e6c0d8f6ed","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF"}'} + Ansible Module Test","publish_key":"f03b513aec0d164fee02867b9a3e8d6bb2e065be","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:50:05Z","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['512'] + content-length: ['510'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:11 GMT'] - fastly-ratelimit-remaining: ['726'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:05 GMT'] + fastly-ratelimit-remaining: ['443'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630431.870499,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666605.042425,VS0,VE436'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/details + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:11Z","active":false,"number":1,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:05Z","active":false,"number":1,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:50:05Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1107'] + content-length: ['1104'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:11 GMT'] + date: ['Wed, 30 May 2018 07:50:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630431.330258,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666606.536017,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/1/clone + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['232'] + content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:11 GMT'] - fastly-ratelimit-remaining: ['725'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:06 GMT'] + fastly-ratelimit-remaining: ['442'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630432.559487,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666606.760360,VS0,VE460'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/domain + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:12 GMT'] + date: ['Wed, 30 May 2018 07:50:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527630432.040879,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666606.279980,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/healthcheck + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:12 GMT'] + date: ['Wed, 30 May 2018 07:50:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630432.475165,VS0,VE379'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666606.463460,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/condition + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:13 GMT'] + date: ['Wed, 30 May 2018 07:50:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630433.927564,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666607.650844,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/backend + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:13 GMT'] + date: ['Wed, 30 May 2018 07:50:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630433.371027,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666607.839110,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/director + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:13 GMT'] + date: ['Wed, 30 May 2018 07:50:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630434.559836,VS0,VE372'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666607.028047,VS0,VE427'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/cache_settings + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:14 GMT'] + date: ['Wed, 30 May 2018 07:50:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630434.005570,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666608.513588,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/gzip + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:14 GMT'] + date: ['Wed, 30 May 2018 07:50:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630434.410274,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666608.959803,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/header + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:15 GMT'] + date: ['Wed, 30 May 2018 07:50:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630436.612696,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666608.138508,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/request_settings + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:15 GMT'] + date: ['Wed, 30 May 2018 07:50:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630436.843152,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666608.326408,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/response_object + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:16 GMT'] + date: ['Wed, 30 May 2018 07:50:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630436.036134,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666609.508075,VS0,VE394'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/snippet + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:16 GMT'] + date: ['Wed, 30 May 2018 07:50:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630436.479284,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666609.960942,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/logging/s3 + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,39 +378,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:16 GMT'] + date: ['Wed, 30 May 2018 07:50:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630437.668200,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666609.429659,VS0,VE124'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/domain + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6YdYUw8mSbggzNKYDVCdpF","version":2,"deleted_at":null,"created_at":"2018-05-29T21:47:17Z","updated_at":"2018-05-29T21:47:17Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"W67dUX94XzwZ984qghMvY","version":2,"deleted_at":null,"created_at":"2018-05-30T07:50:09Z","updated_at":"2018-05-30T07:50:09Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['179'] + content-length: ['178'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:17 GMT'] - fastly-ratelimit-remaining: ['724'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:09 GMT'] + fastly-ratelimit-remaining: ['441'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630437.858279,VS0,VE451'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666610.615350,VS0,VE213'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -421,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/backend + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6YdYUw8mSbggzNKYDVCdpF","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:17Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:17Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"W67dUX94XzwZ984qghMvY","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:10Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:10Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['716'] + content-length: ['715'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:17 GMT'] - fastly-ratelimit-remaining: ['723'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:10 GMT'] + fastly-ratelimit-remaining: ['440'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630437.383486,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666610.890228,VS0,VE469'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -449,26 +449,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/header + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6YdYUw8mSbggzNKYDVCdpF","version":"2","updated_at":"2018-05-29T21:47:18Z","deleted_at":null,"created_at":"2018-05-29T21:47:18Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"W67dUX94XzwZ984qghMvY","version":"2","updated_at":"2018-05-30T07:50:10Z","deleted_at":null,"created_at":"2018-05-30T07:50:10Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['413'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:18 GMT'] - fastly-ratelimit-remaining: ['722'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:10 GMT'] + fastly-ratelimit-remaining: ['439'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630438.876722,VS0,VE400'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666610.419970,VS0,VE176'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -476,87 +476,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/response_object + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"6YdYUw8mSbggzNKYDVCdpF","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:18Z","updated_at":"2018-05-29T21:47:18Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"W67dUX94XzwZ984qghMvY","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:10Z","updated_at":"2018-05-30T07:50:10Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['278'] + content-length: ['277'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:18 GMT'] - fastly-ratelimit-remaining: ['721'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:10 GMT'] + fastly-ratelimit-remaining: ['438'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630438.351763,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666611.657763,VS0,VE168'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 1000}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/settings + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6YdYUw8mSbggzNKYDVCdpF"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"W67dUX94XzwZ984qghMvY"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['194'] + content-length: ['193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:19 GMT'] - fastly-ratelimit-remaining: ['720'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:11 GMT'] + fastly-ratelimit-remaining: ['437'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630439.844975,VS0,VE173'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666611.886740,VS0,VE145'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/activate + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:18Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:10Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['241'] + content-length: ['240'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:19 GMT'] - fastly-ratelimit-remaining: ['719'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:12 GMT'] + fastly-ratelimit-remaining: ['436'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630439.103929,VS0,VE867'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666611.093923,VS0,VE985'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/details + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:11Z","deployed":false}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -564,16 +564,16 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3993'] + content-length: ['3988'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:20 GMT'] + date: ['Wed, 30 May 2018 07:50:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630440.042111,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666612.136523,VS0,VE164'] status: {code: 200, message: OK} - request: body: null @@ -582,32 +582,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":""}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","comment":""}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['683'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:20 GMT'] + date: ['Wed, 30 May 2018 07:50:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630440.255483,VS0,VE389'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666612.361684,VS0,VE143'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/details + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:11Z","deployed":false}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -615,27 +616,27 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3993'] + content-length: ['3988'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:20 GMT'] + date: ['Wed, 30 May 2018 07:50:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630441.717739,VS0,VE106'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666613.562975,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/details + uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:11Z","deployed":false}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -643,15 +644,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3993'] + content-length: ['3988'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:21 GMT'] + date: ['Wed, 30 May 2018 07:50:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630441.896979,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666613.742195,VS0,VE126'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml b/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml index 01a2b38..2d5f363 100644 --- a/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml @@ -6,86 +6,85 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","comment":""}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['918'] + content-length: ['914'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:03 GMT'] + date: ['Wed, 30 May 2018 07:50:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630484.515358,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666641.452448,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"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-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"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}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4853'] + content-length: ['4847'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:03 GMT'] + date: ['Wed, 30 May 2018 07:50:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630484.730678,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666642.661013,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/deactivate + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['230'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:04 GMT'] - fastly-ratelimit-remaining: ['685'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:42 GMT'] + fastly-ratelimit-remaining: ['402'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630484.916199,VS0,VE468'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666642.839967,VS0,VE516'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -94,15 +93,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:04 GMT'] - fastly-ratelimit-remaining: ['684'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:42 GMT'] + fastly-ratelimit-remaining: ['401'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630484.457337,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666642.416860,VS0,VE133'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml b/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml index a78d41b..58c64a0 100644 --- a/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml +++ b/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml @@ -6,33 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","comment":""}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['683'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:51 GMT'] + date: ['Wed, 30 May 2018 07:50:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630471.922683,VS0,VE441'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666631.452456,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:30Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: @@ -40,72 +39,72 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4047'] + content-length: ['4042'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:51 GMT'] + date: ['Wed, 30 May 2018 07:50:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630471.435227,VS0,VE105'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666632.662682,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/clone + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:30Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['232'] + content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:52 GMT'] - fastly-ratelimit-remaining: ['697'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:32 GMT'] + fastly-ratelimit-remaining: ['414'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630472.610152,VS0,VE464'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666632.842512,VS0,VE478'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/domain + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","created_at":"2018-05-29T21:47:44Z","comment":"","updated_at":"2018-05-29T21:47:44Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","created_at":"2018-05-30T07:50:28Z","comment":"","updated_at":"2018-05-30T07:50:28Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['181'] + content-length: ['180'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:52 GMT'] + date: ['Wed, 30 May 2018 07:50:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630472.142501,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666632.378248,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/healthcheck + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:52 GMT'] + date: ['Wed, 30 May 2018 07:50:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630473.612927,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666633.561664,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/condition + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,45 +138,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:53 GMT'] + date: ['Wed, 30 May 2018 07:50:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630473.800905,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666633.745976,VS0,VE391'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/backend + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:47:45Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:47:45Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:50:28Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:50:28Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['718'] + content-length: ['717'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:53 GMT'] + date: ['Wed, 30 May 2018 07:50:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630473.278268,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666633.197914,VS0,VE459'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/director + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:53 GMT'] + date: ['Wed, 30 May 2018 07:50:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630473.465563,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666634.713609,VS0,VE384'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/cache_settings + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:54 GMT'] + date: ['Wed, 30 May 2018 07:50:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630474.897618,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666634.157351,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/gzip + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,46 +234,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:54 GMT'] + date: ['Wed, 30 May 2018 07:50:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630474.079986,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666634.336955,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/header + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"73GTR1qr7h9iRGU8pDAUSM","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:47:45Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:47:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"qvsKnmSfExOg9cWUIvCNS","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:50:28Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:50:28Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['415'] + content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:54 GMT'] + date: ['Wed, 30 May 2018 07:50:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630475.513701,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666635.530118,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/request_settings + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,46 +283,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:55 GMT'] + date: ['Wed, 30 May 2018 07:50:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630475.061092,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666635.749911,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/response_object + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"Hello from Fastly","deleted_at":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","cache_condition":"","created_at":"2018-05-29T21:47:45Z","content_type":"text/plain","request_condition":"","updated_at":"2018-05-29T21:47:45Z"}]'} + 200 status code","content":"Hello from Fastly","deleted_at":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","cache_condition":"","created_at":"2018-05-30T07:50:29Z","content_type":"text/plain","request_condition":"","updated_at":"2018-05-30T07:50:29Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['307'] + content-length: ['306'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:55 GMT'] + date: ['Wed, 30 May 2018 07:50:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630476.541519,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666635.940514,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/snippet + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +332,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:56 GMT'] + date: ['Wed, 30 May 2018 07:50:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630476.770088,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666635.135684,VS0,VE135'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/logging/s3 + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:56 GMT'] + date: ['Wed, 30 May 2018 07:50:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630476.277472,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666635.329207,VS0,VE412'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/domain/example8000.com + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +379,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:56 GMT'] - fastly-ratelimit-remaining: ['696'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:36 GMT'] + fastly-ratelimit-remaining: ['413'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630476.469708,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666636.808973,VS0,VE438'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/backend/localhost + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +404,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:57 GMT'] - fastly-ratelimit-remaining: ['695'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:36 GMT'] + fastly-ratelimit-remaining: ['412'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630477.981795,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666636.308068,VS0,VE196'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +429,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:57 GMT'] - fastly-ratelimit-remaining: ['694'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:36 GMT'] + fastly-ratelimit-remaining: ['411'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630478.519144,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666637.563372,VS0,VE429'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,41 +454,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:58 GMT'] - fastly-ratelimit-remaining: ['693'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:37 GMT'] + fastly-ratelimit-remaining: ['410'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630478.033373,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666637.052800,VS0,VE178'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/domain + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":3,"deleted_at":null,"created_at":"2018-05-29T21:47:58Z","updated_at":"2018-05-29T21:47:58Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"qvsKnmSfExOg9cWUIvCNS","version":3,"deleted_at":null,"created_at":"2018-05-30T07:50:37Z","updated_at":"2018-05-30T07:50:37Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['179'] + content-length: ['178'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:59 GMT'] - fastly-ratelimit-remaining: ['692'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:37 GMT'] + fastly-ratelimit-remaining: ['409'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630479.543568,VS0,VE482'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666637.292732,VS0,VE474'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -500,25 +499,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/backend + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:59Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:59Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:37Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:37Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['716'] + content-length: ['715'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:59 GMT'] - fastly-ratelimit-remaining: ['691'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:38 GMT'] + fastly-ratelimit-remaining: ['408'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630479.173889,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666638.853149,VS0,VE215'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -528,26 +527,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/header + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"3","updated_at":"2018-05-29T21:48:00Z","deleted_at":null,"created_at":"2018-05-29T21:48:00Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","version":"3","updated_at":"2018-05-30T07:50:38Z","deleted_at":null,"created_at":"2018-05-30T07:50:38Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['413'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:00 GMT'] - fastly-ratelimit-remaining: ['690'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:38 GMT'] + fastly-ratelimit-remaining: ['407'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630480.672023,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666638.129325,VS0,VE465'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -555,26 +554,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/response_object + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:48:00Z","updated_at":"2018-05-29T21:48:00Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"qvsKnmSfExOg9cWUIvCNS","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:39Z","updated_at":"2018-05-30T07:50:39Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['278'] + content-length: ['277'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:00 GMT'] - fastly-ratelimit-remaining: ['689'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:39 GMT'] + fastly-ratelimit-remaining: ['406'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630480.180116,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666639.657252,VS0,VE436'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"content": "\n if (resp.status >= 500 && resp.status @@ -584,110 +583,110 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/snippet + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/snippet response: body: {string: !!python/unicode '{"content":"\n if (resp.status \u003e= 500 \u0026\u0026 resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","type":"deliver","dynamic":0,"name":"Deliver - stale content","priority":100,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"3","deleted_at":null,"created_at":"2018-05-29T21:48:00Z","updated_at":"2018-05-29T21:48:00Z","id":"7SMQYaUxuWYwBHppX8y6RJ"}'} + stale content","priority":100,"service_id":"qvsKnmSfExOg9cWUIvCNS","version":"3","deleted_at":null,"created_at":"2018-05-30T07:50:39Z","updated_at":"2018-05-30T07:50:39Z","id":"18Spihr0RSdGKQCGnm5wMS"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['452'] + content-length: ['451'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:00 GMT'] - fastly-ratelimit-remaining: ['688'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:39 GMT'] + fastly-ratelimit-remaining: ['405'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630481.660994,VS0,VE136'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666639.153719,VS0,VE430'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/settings + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"qvsKnmSfExOg9cWUIvCNS"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['194'] + content-length: ['193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:01 GMT'] - fastly-ratelimit-remaining: ['687'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:39 GMT'] + fastly-ratelimit-remaining: ['404'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630481.869614,VS0,VE452'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666640.642826,VS0,VE192'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/activate + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:00Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:39Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['241'] + content-length: ['240'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:02 GMT'] - fastly-ratelimit-remaining: ['686'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:50:40 GMT'] + fastly-ratelimit-remaining: ['403'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630481.413838,VS0,VE874'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666640.895677,VS0,VE608'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"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-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"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}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4853'] + content-length: ['4847'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:02 GMT'] + date: ['Wed, 30 May 2018 07:50:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630482.438881,VS0,VE138'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666641.564074,VS0,VE148'] status: {code: 200, message: OK} - request: body: null @@ -696,85 +695,85 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","comment":""}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['918'] + content-length: ['914'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:03 GMT'] + date: ['Wed, 30 May 2018 07:50:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630483.652065,VS0,VE396'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666641.773986,VS0,VE145'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"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-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"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}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4853'] + content-length: ['4847'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:03 GMT'] + date: ['Wed, 30 May 2018 07:50:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630483.123409,VS0,VE107'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666641.978639,VS0,VE162'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"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-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"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}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4853'] + content-length: ['4847'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:03 GMT'] + date: ['Wed, 30 May 2018 07:50:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630483.303771,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666641.200329,VS0,VE166'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/tearDown b/tests/fixtures/cassettes/tearDown index 154e71b..c3e1677 100644 --- a/tests/fixtures/cassettes/tearDown +++ b/tests/fixtures/cassettes/tearDown @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":""}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:14Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:21Z","active":true,"number":3,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:13Z","comment":""}],"created_at":"2018-05-30T07:24:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:24:14Z","id":"3Xyb2lS5WQ74LSqlfBKJXM"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,23 +14,23 @@ interactions: connection: [keep-alive] content-length: ['925'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:07 GMT'] + date: ['Wed, 30 May 2018 07:47:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630248.779315,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666442.814775,VS0,VE151'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/details + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:07Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:14Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:47:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:21Z","deployed":false}],"created_at":"2018-05-30T07:24:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:24:14Z","id":"3Xyb2lS5WQ74LSqlfBKJXM","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:21Z","active":true,"number":3,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:47:21Z","active":true,"number":3,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -38,46 +38,46 @@ interactions: connection: [keep-alive] content-length: ['3544'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:08 GMT'] + date: ['Wed, 30 May 2018 07:47:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630248.987874,VS0,VE109'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666442.025406,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/deactivate + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:07Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:47:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:21Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:08 GMT'] - fastly-ratelimit-remaining: ['900'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:22 GMT'] + fastly-ratelimit-remaining: ['617'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630248.173155,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666442.202413,VS0,VE503'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -86,15 +86,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:09 GMT'] - fastly-ratelimit-remaining: ['899'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:23 GMT'] + fastly-ratelimit-remaining: ['616'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630249.678669,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666443.766428,VS0,VE475'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert b/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert index 93eb23d..f77824c 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert +++ b/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:14Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false}],"created_at":"2018-05-30T07:24:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:24:14Z","id":"3Xyb2lS5WQ74LSqlfBKJXM"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,23 +14,23 @@ interactions: connection: [keep-alive] content-length: ['694'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:58 GMT'] + date: ['Wed, 30 May 2018 07:47:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630238.093228,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666433.516747,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/details + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T16:36:45Z","active":false,"number":2,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T16:36:40Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:14Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false}],"created_at":"2018-05-30T07:24:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:24:14Z","id":"3Xyb2lS5WQ74LSqlfBKJXM","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:24:21Z","active":false,"number":2,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:24: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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":null}'} headers: @@ -40,48 +40,48 @@ interactions: connection: [keep-alive] content-length: ['2376'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:58 GMT'] + date: ['Wed, 30 May 2018 07:47:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630238.279749,VS0,VE443'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666433.709262,VS0,VE156'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/2/clone + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:59 GMT'] - fastly-ratelimit-remaining: ['909'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:13 GMT'] + fastly-ratelimit-remaining: ['626'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630239.825529,VS0,VE453'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666433.925106,VS0,VE498'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/domain + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","created_at":"2018-05-29T16:36:44Z","comment":"test1","updated_at":"2018-05-29T16:36:44Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","created_at":"2018-05-30T07:24:20Z","comment":"test1","updated_at":"2018-05-30T07:24:20Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -89,21 +89,21 @@ interactions: connection: [keep-alive] content-length: ['190'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:59 GMT'] + date: ['Wed, 30 May 2018 07:47:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630239.349544,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666433.477906,VS0,VE429'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/healthcheck + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:00 GMT'] + date: ['Wed, 30 May 2018 07:47:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630240.784868,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666434.965190,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/condition + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -137,23 +137,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:00 GMT'] + date: ['Wed, 30 May 2018 07:47:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630240.220386,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666434.141197,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/backend + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T16:36:44Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T16:36:44Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:24:20Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:24:20Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -161,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:00 GMT'] + date: ['Wed, 30 May 2018 07:47:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630240.405977,VS0,VE375'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666434.326252,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/director + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:01 GMT'] + date: ['Wed, 30 May 2018 07:47:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630241.854541,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666435.513481,VS0,VE423'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/cache_settings + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:01 GMT'] + date: ['Wed, 30 May 2018 07:47:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630241.294069,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666435.994933,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/gzip + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -233,24 +233,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:01 GMT'] + date: ['Wed, 30 May 2018 07:47:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630241.481952,VS0,VE136'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666435.443409,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/header + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3anjYL1mfxKTdZXjeE4v2m","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T16:36:45Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T16:36:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3Xyb2lS5WQ74LSqlfBKJXM","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:24:20Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:24:20Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:01 GMT'] + date: ['Wed, 30 May 2018 07:47:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630242.692987,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666436.625327,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/request_settings + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -282,24 +282,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:01 GMT'] + date: ['Wed, 30 May 2018 07:47:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630242.878331,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666436.847482,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/response_object + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","cache_condition":"","created_at":"2018-05-29T16:36:45Z","content_type":"","request_condition":"","updated_at":"2018-05-29T16:36:45Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","cache_condition":"","created_at":"2018-05-30T07:24:21Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:24:21Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -307,21 +307,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:02 GMT'] + date: ['Wed, 30 May 2018 07:47:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630242.072456,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666436.332565,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/snippet + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -331,21 +331,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:02 GMT'] + date: ['Wed, 30 May 2018 07:47:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630243.514247,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666437.733941,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/logging/s3 + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -355,21 +355,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:02 GMT'] + date: ['Wed, 30 May 2018 07:47:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630243.705678,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666437.908779,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -378,23 +378,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:03 GMT'] - fastly-ratelimit-remaining: ['908'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:17 GMT'] + fastly-ratelimit-remaining: ['625'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630243.896505,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666437.088333,VS0,VE427'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/backend/localhost + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -403,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:03 GMT'] - fastly-ratelimit-remaining: ['907'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:18 GMT'] + fastly-ratelimit-remaining: ['624'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630243.381780,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666438.578771,VS0,VE477'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -428,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:04 GMT'] - fastly-ratelimit-remaining: ['906'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:18 GMT'] + fastly-ratelimit-remaining: ['623'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630244.874739,VS0,VE455'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666438.114697,VS0,VE439'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -453,41 +453,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:04 GMT'] - fastly-ratelimit-remaining: ['905'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:19 GMT'] + fastly-ratelimit-remaining: ['622'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630244.404756,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666439.614004,VS0,VE475'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/domain + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3anjYL1mfxKTdZXjeE4v2m","version":3,"deleted_at":null,"created_at":"2018-05-29T21:44:05Z","updated_at":"2018-05-29T21:44:05Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3Xyb2lS5WQ74LSqlfBKJXM","version":3,"deleted_at":null,"created_at":"2018-05-30T07:47:19Z","updated_at":"2018-05-30T07:47:19Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:05 GMT'] - fastly-ratelimit-remaining: ['904'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:19 GMT'] + fastly-ratelimit-remaining: ['621'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630245.891169,VS0,VE463'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666439.148196,VS0,VE334'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -498,59 +498,59 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/backend + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend.example.net","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend.example.net","between_bytes_timeout":10000,"max_conn":200,"port":443,"ssl_hostname":"my-backend.example.net","shield":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend.example.net","client_cert":null,"updated_at":"2018-05-29T21:44:05Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":true,"created_at":"2018-05-29T21:44:05Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend.example.net","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend.example.net","between_bytes_timeout":10000,"max_conn":200,"port":443,"ssl_hostname":"my-backend.example.net","shield":null,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend.example.net","client_cert":null,"updated_at":"2018-05-30T07:47:19Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":true,"created_at":"2018-05-30T07:47:19Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['775'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:05 GMT'] - fastly-ratelimit-remaining: ['903'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:19 GMT'] + fastly-ratelimit-remaining: ['620'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630245.428577,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666440.545117,VS0,VE442'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/settings + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3anjYL1mfxKTdZXjeE4v2m"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:06 GMT'] - fastly-ratelimit-remaining: ['902'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:20 GMT'] + fastly-ratelimit-remaining: ['619'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] - x-timer: ['S1527630246.918102,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666440.047057,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/activate + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:05Z","deployed":false,"msg":"Warning: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:47:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:19Z","deployed":false,"msg":"Warning: Backend host `my-backend.example.net` could not be resolved to an IP address: Name or service not known\nat: (input Line 12 Pos 6)\n .host = \"my-backend.example.net\";\n-----####----------------------------"}'} headers: @@ -559,25 +559,25 @@ interactions: connection: [keep-alive] content-length: ['458'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:07 GMT'] - fastly-ratelimit-remaining: ['901'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:21 GMT'] + fastly-ratelimit-remaining: ['618'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630246.408331,VS0,VE1047'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666441.581618,VS0,VE929'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/details + uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:07Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:14Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:47:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:21Z","deployed":false}],"created_at":"2018-05-30T07:24:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:24:14Z","id":"3Xyb2lS5WQ74LSqlfBKJXM","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:21Z","active":true,"number":3,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:47:21Z","active":true,"number":3,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -585,13 +585,13 @@ interactions: connection: [keep-alive] content-length: ['3544'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:07 GMT'] + date: ['Wed, 30 May 2018 07:47:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630248.530506,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666442.573711,VS0,VE165'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_port_not_required b/tests/fixtures/cassettes/test_fastly_backend_port_not_required index ef71c49..2372b79 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_port_not_required +++ b/tests/fixtures/cassettes/test_fastly_backend_port_not_required @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:09 GMT'] + date: ['Wed, 30 May 2018 07:47:23 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630249.159502,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666443.310203,VS0,VE165'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -32,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"02cd31ff4b39e87a6e1f4d19b11f12640903a100","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:44:09Z","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + Fastly Ansible Module Test","publish_key":"e1fed026cbc6a5b2cf6c04d6d2ab64f1093097f8","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:47:23Z","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['518'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:09 GMT'] - fastly-ratelimit-remaining: ['898'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:23 GMT'] + fastly-ratelimit-remaining: ['615'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630249.347148,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666444.534733,VS0,VE142'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:09Z","active":false,"number":1,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:44:09Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:23Z","active":false,"number":1,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:47:23Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1113'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:10 GMT'] + date: ['Wed, 30 May 2018 07:47:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630250.886146,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666444.735764,VS0,VE441'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/1/clone + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:10 GMT'] - fastly-ratelimit-remaining: ['897'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:24 GMT'] + fastly-ratelimit-remaining: ['614'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630250.395279,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666444.236193,VS0,VE573'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:10 GMT'] + date: ['Wed, 30 May 2018 07:47:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630251.884906,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666445.868941,VS0,VE153'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/healthcheck + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:11 GMT'] + date: ['Wed, 30 May 2018 07:47:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630251.068686,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666445.103378,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/condition + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:11 GMT'] + date: ['Wed, 30 May 2018 07:47:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630251.260208,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666445.291524,VS0,VE171'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:12 GMT'] + date: ['Wed, 30 May 2018 07:47:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630252.704811,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666446.523069,VS0,VE169'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/director + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:12 GMT'] + date: ['Wed, 30 May 2018 07:47:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630252.164600,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666446.750957,VS0,VE434'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/cache_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:12 GMT'] + date: ['Wed, 30 May 2018 07:47:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630252.391968,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666446.244565,VS0,VE165'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/gzip + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:13 GMT'] + date: ['Wed, 30 May 2018 07:47:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630253.830137,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666446.472286,VS0,VE460'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:13 GMT'] + date: ['Wed, 30 May 2018 07:47:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630253.265276,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666447.991281,VS0,VE450'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/request_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:13 GMT'] + date: ['Wed, 30 May 2018 07:47:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630253.455320,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666448.500124,VS0,VE175'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:14 GMT'] + date: ['Wed, 30 May 2018 07:47:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630254.888930,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666448.734161,VS0,VE387'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/snippet + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:14 GMT'] + date: ['Wed, 30 May 2018 07:47:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630254.088695,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666448.178717,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/logging/s3 + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,39 +378,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:14 GMT'] + date: ['Wed, 30 May 2018 07:47:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630254.274436,VS0,VE359'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666448.361897,VS0,VE159'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":2,"deleted_at":null,"created_at":"2018-05-29T21:44:15Z","updated_at":"2018-05-29T21:44:15Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":2,"deleted_at":null,"created_at":"2018-05-30T07:47:28Z","updated_at":"2018-05-30T07:47:28Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:15 GMT'] - fastly-ratelimit-remaining: ['896'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:28 GMT'] + fastly-ratelimit-remaining: ['613'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630255.712133,VS0,VE494'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666449.582754,VS0,VE240'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -421,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:15Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:15Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:47:29Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:29Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:15 GMT'] - fastly-ratelimit-remaining: ['895'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:29 GMT'] + fastly-ratelimit-remaining: ['612'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630255.280807,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666449.881496,VS0,VE443'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -449,26 +449,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"2","updated_at":"2018-05-29T21:44:16Z","deleted_at":null,"created_at":"2018-05-29T21:44:16Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"2","updated_at":"2018-05-30T07:47:29Z","deleted_at":null,"created_at":"2018-05-30T07:47:29Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:16 GMT'] - fastly-ratelimit-remaining: ['894'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:29 GMT'] + fastly-ratelimit-remaining: ['611'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630256.768956,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666449.384544,VS0,VE482'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -476,87 +476,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:44:16Z","updated_at":"2018-05-29T21:44:16Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:47:30Z","updated_at":"2018-05-30T07:47:30Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:16 GMT'] - fastly-ratelimit-remaining: ['893'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:30 GMT'] + fastly-ratelimit-remaining: ['610'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630256.233573,VS0,VE391'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666450.927393,VS0,VE200'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:17 GMT'] - fastly-ratelimit-remaining: ['892'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:30 GMT'] + fastly-ratelimit-remaining: ['609'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630257.701196,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666450.186608,VS0,VE506'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/activate + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:16Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:30Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:18 GMT'] - fastly-ratelimit-remaining: ['891'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:31 GMT'] + fastly-ratelimit-remaining: ['608'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630257.197478,VS0,VE1196'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666451.753659,VS0,VE900'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:18Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:31Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:31Z","active":true,"number":2,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:47:31Z","active":true,"number":2,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -566,13 +566,13 @@ interactions: connection: [keep-alive] content-length: ['4005'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:18 GMT'] + date: ['Wed, 30 May 2018 07:47:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630258.469817,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666452.712680,VS0,VE153'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_weight_even b/tests/fixtures/cassettes/test_fastly_backend_weight_even index 86b78dd..c776ff7 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_weight_even +++ b/tests/fixtures/cassettes/test_fastly_backend_weight_even @@ -6,33 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:31Z","active":true,"number":2,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:24Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['692'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:18 GMT'] + date: ['Wed, 30 May 2018 07:47:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630259.749607,VS0,VE171'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666452.991830,VS0,VE457'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:18Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:31Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:31Z","active":true,"number":2,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:47:31Z","active":true,"number":2,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -42,48 +41,48 @@ interactions: connection: [keep-alive] content-length: ['4005'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:19 GMT'] + date: ['Wed, 30 May 2018 07:47:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630259.994736,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666453.508184,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/clone + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:18Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:31Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:19 GMT'] - fastly-ratelimit-remaining: ['890'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:33 GMT'] + fastly-ratelimit-remaining: ['607'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630259.232440,VS0,VE220'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666453.727093,VS0,VE501'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:15Z","comment":"","updated_at":"2018-05-29T21:44:15Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:47:28Z","comment":"","updated_at":"2018-05-30T07:47:28Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:19 GMT'] + date: ['Wed, 30 May 2018 07:47:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630260.529416,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666453.287315,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/healthcheck + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:20 GMT'] + date: ['Wed, 30 May 2018 07:47:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630260.965186,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666454.510069,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/condition + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:20 GMT'] + date: ['Wed, 30 May 2018 07:47:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630260.449725,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666454.980700,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:44:15Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:15Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:47:29Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:29Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 07:47:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630261.889472,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666454.167143,VS0,VE431'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/director + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 07:47:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630261.087952,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666455.659509,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/cache_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 07:47:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630261.278546,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666455.839782,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/gzip + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 07:47:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630261.477636,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666455.015436,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:16Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:16Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"5NBQfakHXxmBXM0q9qtZ0S","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:47:29Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:47:29Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 07:47:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630262.676764,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666455.199330,VS0,VE451'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/request_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 07:47:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630262.867564,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666456.716223,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:44:16Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:44:16Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","cache_condition":"","created_at":"2018-05-30T07:47:30Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:47:30Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:22 GMT'] + date: ['Wed, 30 May 2018 07:47:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630262.061565,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666456.893146,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/snippet + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +332,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:22 GMT'] + date: ['Wed, 30 May 2018 07:47:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630262.254397,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666456.085705,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/logging/s3 + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:22 GMT'] + date: ['Wed, 30 May 2018 07:47:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630263.698092,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666456.273176,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +379,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:23 GMT'] - fastly-ratelimit-remaining: ['889'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:36 GMT'] + fastly-ratelimit-remaining: ['606'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630263.889242,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666456.467777,VS0,VE450'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/backend/localhost + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +404,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:23 GMT'] - fastly-ratelimit-remaining: ['888'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:37 GMT'] + fastly-ratelimit-remaining: ['605'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630263.374591,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666457.983053,VS0,VE441'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +429,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:24 GMT'] - fastly-ratelimit-remaining: ['887'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:37 GMT'] + fastly-ratelimit-remaining: ['604'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630264.876706,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666457.483553,VS0,VE182'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,41 +454,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:24 GMT'] - fastly-ratelimit-remaining: ['886'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:37 GMT'] + fastly-ratelimit-remaining: ['603'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630264.362992,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666458.725618,VS0,VE211'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":3,"deleted_at":null,"created_at":"2018-05-29T21:44:24Z","updated_at":"2018-05-29T21:44:24Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":3,"deleted_at":null,"created_at":"2018-05-30T07:47:38Z","updated_at":"2018-05-30T07:47:38Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:25 GMT'] - fastly-ratelimit-remaining: ['885'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:38 GMT'] + fastly-ratelimit-remaining: ['602'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630265.882720,VS0,VE187'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666458.996487,VS0,VE209'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -500,25 +499,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend1.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend1.example.net","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","client_cert":null,"updated_at":"2018-05-29T21:44:25Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:25Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend1.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend1.example.net","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","client_cert":null,"updated_at":"2018-05-30T07:47:38Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:38Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['757'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:25 GMT'] - fastly-ratelimit-remaining: ['884'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:38 GMT'] + fastly-ratelimit-remaining: ['601'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630265.143592,VS0,VE444'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666458.267779,VS0,VE442'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -529,59 +528,59 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend2.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend2.example.net","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","client_cert":null,"updated_at":"2018-05-29T21:44:26Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:26Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend2.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend2.example.net","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","client_cert":null,"updated_at":"2018-05-30T07:47:39Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:39Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['757'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:26 GMT'] - fastly-ratelimit-remaining: ['883'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:39 GMT'] + fastly-ratelimit-remaining: ['600'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630266.710153,VS0,VE463'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666459.768537,VS0,VE433'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:26 GMT'] - fastly-ratelimit-remaining: ['882'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:39 GMT'] + fastly-ratelimit-remaining: ['599'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630266.249256,VS0,VE456'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666459.263043,VS0,VE445'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/activate + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:26Z","deployed":false,"msg":"Warning: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:39Z","deployed":false,"msg":"Warning: Backend host `my-backend1.example.net` could not be resolved to an IP address: Name or service not known\nat: (input Line 12 Pos 6)\n .host = \"my-backend1.example.net\";\n-----####-----------------------------\n\nWarning: Backend host `my-backend2.example.net` could not be resolved to an IP address: @@ -594,39 +593,38 @@ interactions: connection: [keep-alive] content-length: ['843'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:27 GMT'] - fastly-ratelimit-remaining: ['881'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:40 GMT'] + fastly-ratelimit-remaining: ['598'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630267.814370,VS0,VE1051'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666460.767170,VS0,VE1209'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:40Z","active":true,"number":3,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:47:40Z","active":true,"number":3,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4743'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:28 GMT'] + date: ['Wed, 30 May 2018 07:47:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630268.010742,VS0,VE258'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666461.036933,VS0,VE200'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_domain_comment_not_required b/tests/fixtures/cassettes/test_fastly_domain_comment_not_required index fd64e00..d5f9195 100644 --- a/tests/fixtures/cassettes/test_fastly_domain_comment_not_required +++ b/tests/fixtures/cassettes/test_fastly_domain_comment_not_required @@ -6,31 +6,30 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:40Z","active":true,"number":3,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:33Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['924'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:28 GMT'] + date: ['Wed, 30 May 2018 07:47:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630269.524307,VS0,VE243'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666461.440506,VS0,VE142'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:40Z","active":true,"number":3,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:47:40Z","active":true,"number":3,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -38,48 +37,48 @@ interactions: connection: [keep-alive] content-length: ['4743'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:29 GMT'] + date: ['Wed, 30 May 2018 07:47:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630269.841495,VS0,VE184'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666462.642465,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/clone + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:29 GMT'] - fastly-ratelimit-remaining: ['880'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:42 GMT'] + fastly-ratelimit-remaining: ['597'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630269.101625,VS0,VE491'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666462.826167,VS0,VE473'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/domain response: - body: {string: !!python/unicode '[{"version":4,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:24Z","comment":"","updated_at":"2018-05-29T21:44:24Z"}]'} + body: {string: !!python/unicode '[{"version":4,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:47:38Z","comment":"","updated_at":"2018-05-30T07:47:38Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -87,21 +86,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:29 GMT'] + date: ['Wed, 30 May 2018 07:47:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630270.669012,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666462.359322,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/healthcheck + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -111,21 +110,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:30 GMT'] + date: ['Wed, 30 May 2018 07:47:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630270.857226,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666463.543245,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/condition + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/condition response: body: {string: !!python/unicode '[]'} headers: @@ -135,23 +134,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:30 GMT'] + date: ['Wed, 30 May 2018 07:47:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630270.364484,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666463.987482,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend1.example.net","updated_at":"2018-05-29T21:44:25Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend1.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:25Z","comment":""},{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend2.example.net","updated_at":"2018-05-29T21:44:26Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend2.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:26Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend1.example.net","updated_at":"2018-05-30T07:47:38Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend1.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:38Z","comment":""},{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend2.example.net","updated_at":"2018-05-30T07:47:39Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend2.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:39Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -159,21 +158,21 @@ interactions: connection: [keep-alive] content-length: ['1517'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:30 GMT'] + date: ['Wed, 30 May 2018 07:47:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630271.808014,VS0,VE133'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666463.172873,VS0,VE137'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/director + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/director response: body: {string: !!python/unicode '[]'} headers: @@ -183,21 +182,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:31 GMT'] + date: ['Wed, 30 May 2018 07:47:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630271.024501,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666463.369921,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/cache_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -207,21 +206,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:31 GMT'] + date: ['Wed, 30 May 2018 07:47:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630271.213511,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666464.549911,VS0,VE163'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/gzip + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -231,21 +230,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:31 GMT'] + date: ['Wed, 30 May 2018 07:47:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630272.696451,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666464.772015,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/header response: body: {string: !!python/unicode '[]'} headers: @@ -255,21 +254,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:32 GMT'] + date: ['Wed, 30 May 2018 07:47:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630272.888729,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666464.988274,VS0,VE408'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/request_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -279,21 +278,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:32 GMT'] + date: ['Wed, 30 May 2018 07:47:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630272.084702,VS0,VE373'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666464.455618,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -303,21 +302,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:32 GMT'] + date: ['Wed, 30 May 2018 07:47:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630273.622126,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666465.632976,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/snippet + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -327,21 +326,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:32 GMT'] + date: ['Wed, 30 May 2018 07:47:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630273.851325,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666465.809357,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/logging/s3 + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -351,21 +350,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:33 GMT'] + date: ['Wed, 30 May 2018 07:47:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630273.045384,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666465.985924,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/domain/cdn.example8000.com + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -374,23 +373,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:33 GMT'] - fastly-ratelimit-remaining: ['879'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:45 GMT'] + fastly-ratelimit-remaining: ['596'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630273.240820,VS0,VE419'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666465.180025,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/backend/my-backend1.example.net + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/backend/my-backend1.example.net response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -399,23 +398,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:34 GMT'] - fastly-ratelimit-remaining: ['878'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:45 GMT'] + fastly-ratelimit-remaining: ['595'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630274.746041,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666465.400910,VS0,VE460'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/backend/my-backend2.example.net + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/backend/my-backend2.example.net response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -424,41 +423,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:34 GMT'] - fastly-ratelimit-remaining: ['877'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:46 GMT'] + fastly-ratelimit-remaining: ['594'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630274.233439,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666466.920923,VS0,VE174'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":4,"deleted_at":null,"created_at":"2018-05-29T21:44:34Z","updated_at":"2018-05-29T21:44:34Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":4,"deleted_at":null,"created_at":"2018-05-30T07:47:46Z","updated_at":"2018-05-30T07:47:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:34 GMT'] - fastly-ratelimit-remaining: ['876'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:46 GMT'] + fastly-ratelimit-remaining: ['593'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630274.469902,VS0,VE486'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666466.155169,VS0,VE212'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -469,25 +468,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:35Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:35Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:47:46Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:46Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:35 GMT'] - fastly-ratelimit-remaining: ['875'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:46 GMT'] + fastly-ratelimit-remaining: ['592'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630275.048654,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666466.427051,VS0,VE171'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -497,26 +496,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"4","updated_at":"2018-05-29T21:44:35Z","deleted_at":null,"created_at":"2018-05-29T21:44:35Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"4","updated_at":"2018-05-30T07:47:46Z","deleted_at":null,"created_at":"2018-05-30T07:47:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:35 GMT'] - fastly-ratelimit-remaining: ['874'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:46 GMT'] + fastly-ratelimit-remaining: ['591'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630276.596680,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666467.658984,VS0,VE155'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -524,87 +523,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:44:36Z","updated_at":"2018-05-29T21:44:36Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:47:46Z","updated_at":"2018-05-30T07:47:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:36 GMT'] - fastly-ratelimit-remaining: ['873'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:47 GMT'] + fastly-ratelimit-remaining: ['590'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630276.102471,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666467.876545,VS0,VE162'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:36 GMT'] - fastly-ratelimit-remaining: ['872'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:47 GMT'] + fastly-ratelimit-remaining: ['589'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630277.586033,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666467.099317,VS0,VE185'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/activate + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:36Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:46Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:37 GMT'] - fastly-ratelimit-remaining: ['871'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:48 GMT'] + fastly-ratelimit-remaining: ['588'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630277.046996,VS0,VE843'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666467.344955,VS0,VE915'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:48Z","active":true,"number":4,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:47:48Z","active":true,"number":4,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -614,13 +613,13 @@ interactions: connection: [keep-alive] content-length: ['4469'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:38 GMT'] + date: ['Wed, 30 May 2018 07:47:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630278.965753,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666468.319619,VS0,VE150'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_action_not_required b/tests/fixtures/cassettes/test_fastly_header_action_not_required index df93e76..63fc36b 100644 --- a/tests/fixtures/cassettes/test_fastly_header_action_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_action_not_required @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:48Z","active":true,"number":4,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:42Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['1156'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:38 GMT'] + date: ['Wed, 30 May 2018 07:47:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630278.256362,VS0,VE138'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666469.605526,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:48Z","active":true,"number":4,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:47:48Z","active":true,"number":4,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -42,48 +42,48 @@ interactions: connection: [keep-alive] content-length: ['4469'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:38 GMT'] + date: ['Wed, 30 May 2018 07:47:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630278.471020,VS0,VE107'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666469.813585,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/clone + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:39 GMT'] - fastly-ratelimit-remaining: ['870'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:49 GMT'] + fastly-ratelimit-remaining: ['587'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630279.655793,VS0,VE449'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666469.990287,VS0,VE470'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/domain response: - body: {string: !!python/unicode '[{"version":5,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:34Z","comment":"","updated_at":"2018-05-29T21:44:34Z"}]'} + body: {string: !!python/unicode '[{"version":5,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:47:46Z","comment":"","updated_at":"2018-05-30T07:47:46Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +91,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:39 GMT'] + date: ['Wed, 30 May 2018 07:47:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630279.178050,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666470.522464,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/healthcheck + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:39 GMT'] + date: ['Wed, 30 May 2018 07:47:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630280.685189,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666470.711750,VS0,VE397'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/condition + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +139,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:39 GMT'] + date: ['Wed, 30 May 2018 07:47:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630280.873568,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666470.168712,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:44:35Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":5,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:35Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:47:46Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":5,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:46Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +163,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:40 GMT'] + date: ['Wed, 30 May 2018 07:47:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630280.069992,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666470.354910,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/director + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +187,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:40 GMT'] + date: ['Wed, 30 May 2018 07:47:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630280.262992,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666471.546192,VS0,VE465'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/cache_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:40 GMT'] + date: ['Wed, 30 May 2018 07:47:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630281.501193,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666471.070622,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/gzip + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +235,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:40 GMT'] + date: ['Wed, 30 May 2018 07:47:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630281.693407,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666471.254939,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:35Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"5","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:35Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"5NBQfakHXxmBXM0q9qtZ0S","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:47:46Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"5","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:47:46Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +260,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:41 GMT'] + date: ['Wed, 30 May 2018 07:47:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630281.881747,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666472.725802,VS0,VE132'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/request_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +284,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:41 GMT'] + date: ['Wed, 30 May 2018 07:47:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630281.334422,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666472.919516,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"5","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:44:36Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:44:36Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","cache_condition":"","created_at":"2018-05-30T07:47:46Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:47:46Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +309,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:41 GMT'] + date: ['Wed, 30 May 2018 07:47:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630282.787976,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666472.106146,VS0,VE191'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/snippet + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +333,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:42 GMT'] + date: ['Wed, 30 May 2018 07:47:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630282.018399,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666472.355148,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/logging/s3 + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +357,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:42 GMT'] + date: ['Wed, 30 May 2018 07:47:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630282.456316,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666473.539276,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/domain/cdn.example8000.com + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:43 GMT'] - fastly-ratelimit-remaining: ['869'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:52 GMT'] + fastly-ratelimit-remaining: ['586'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630283.897086,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666473.720716,VS0,VE175'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/backend/localhost + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:43 GMT'] - fastly-ratelimit-remaining: ['868'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:53 GMT'] + fastly-ratelimit-remaining: ['585'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630283.377464,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666473.957394,VS0,VE464'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/header/Set%20Location%20header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:44 GMT'] - fastly-ratelimit-remaining: ['867'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:53 GMT'] + fastly-ratelimit-remaining: ['584'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630284.864130,VS0,VE488'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666473.483802,VS0,VE457'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,41 +455,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:44 GMT'] - fastly-ratelimit-remaining: ['866'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:54 GMT'] + fastly-ratelimit-remaining: ['583'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630284.426664,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666474.002254,VS0,VE434'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":5,"deleted_at":null,"created_at":"2018-05-29T21:44:45Z","updated_at":"2018-05-29T21:44:45Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":5,"deleted_at":null,"created_at":"2018-05-30T07:47:54Z","updated_at":"2018-05-30T07:47:54Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:45 GMT'] - fastly-ratelimit-remaining: ['865'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:54 GMT'] + fastly-ratelimit-remaining: ['582'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630285.912268,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666474.498109,VS0,VE208'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -500,25 +500,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":5,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:45Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:45Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":5,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:47:54Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:54Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:45 GMT'] - fastly-ratelimit-remaining: ['864'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:54 GMT'] + fastly-ratelimit-remaining: ['581'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630285.424388,VS0,VE425'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666475.765029,VS0,VE177'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -528,26 +528,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"5","updated_at":"2018-05-29T21:44:46Z","deleted_at":null,"created_at":"2018-05-29T21:44:46Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"5","updated_at":"2018-05-30T07:47:55Z","deleted_at":null,"created_at":"2018-05-30T07:47:55Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:46 GMT'] - fastly-ratelimit-remaining: ['863'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:55 GMT'] + fastly-ratelimit-remaining: ['580'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630286.925069,VS0,VE438'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666475.002656,VS0,VE419'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -555,87 +555,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"5","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:44:46Z","updated_at":"2018-05-29T21:44:46Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"5","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:47:55Z","updated_at":"2018-05-30T07:47:55Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:46 GMT'] - fastly-ratelimit-remaining: ['862'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:55 GMT'] + fastly-ratelimit-remaining: ['579'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630286.442406,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666475.481772,VS0,VE431'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":5,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":5,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:47 GMT'] - fastly-ratelimit-remaining: ['861'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:56 GMT'] + fastly-ratelimit-remaining: ['578'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630287.906469,VS0,VE433'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666476.974581,VS0,VE470'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/activate + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:46Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:55Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:48 GMT'] - fastly-ratelimit-remaining: ['860'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:47:57 GMT'] + fastly-ratelimit-remaining: ['577'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630287.415930,VS0,VE896'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666477.504910,VS0,VE976'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -645,13 +645,13 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:48 GMT'] + date: ['Wed, 30 May 2018 07:47:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630288.387799,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666478.540898,VS0,VE163'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required b/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required index 0f3dad3..feb7f58 100644 --- a/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['1388'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:49 GMT'] + date: ['Wed, 30 May 2018 07:47:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630289.689254,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666478.822804,VS0,VE142'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -42,40 +42,41 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:49 GMT'] + date: ['Wed, 30 May 2018 07:47:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630289.152737,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666478.022906,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:49 GMT'] + date: ['Wed, 30 May 2018 07:47:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630290.633465,VS0,VE293'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666478.201027,VS0,VE164'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_priority_not_required b/tests/fixtures/cassettes/test_fastly_header_priority_not_required index 39d65bf..20956d8 100644 --- a/tests/fixtures/cassettes/test_fastly_header_priority_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_priority_not_required @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['1388'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:50 GMT'] + date: ['Wed, 30 May 2018 07:47:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630290.061756,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666478.463853,VS0,VE144'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -42,25 +42,25 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:50 GMT'] + date: ['Wed, 30 May 2018 07:47:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630290.273524,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666479.666992,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -70,13 +70,13 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:50 GMT'] + date: ['Wed, 30 May 2018 07:47:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630290.460469,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666479.845204,VS0,VE123'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist b/tests/fixtures/cassettes/test_service_does_exist index ea88c32..cf562b9 100644 --- a/tests/fixtures/cassettes/test_service_does_exist +++ b/tests/fixtures/cassettes/test_service_does_exist @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['1388'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:51 GMT'] + date: ['Wed, 30 May 2018 07:47:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630291.766568,VS0,VE247'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666479.113362,VS0,VE145'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -42,48 +42,48 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:51 GMT'] + date: ['Wed, 30 May 2018 07:47:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630291.088706,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666479.318278,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/clone + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:51 GMT'] - fastly-ratelimit-remaining: ['859'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:00 GMT'] + fastly-ratelimit-remaining: ['576'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630291.284902,VS0,VE497'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666480.535143,VS0,VE535'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/domain response: - body: {string: !!python/unicode '[{"version":6,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:45Z","comment":"","updated_at":"2018-05-29T21:44:45Z"}]'} + body: {string: !!python/unicode '[{"version":6,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:47:54Z","comment":"","updated_at":"2018-05-30T07:47:54Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +91,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:52 GMT'] + date: ['Wed, 30 May 2018 07:48:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630292.858796,VS0,VE168'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666480.129876,VS0,VE407'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/healthcheck + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:52 GMT'] + date: ['Wed, 30 May 2018 07:48:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630292.102305,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666481.596872,VS0,VE167'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/condition + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +139,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:52 GMT'] + date: ['Wed, 30 May 2018 07:48:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630293.605906,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666481.823525,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:44:45Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":6,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:45Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:47:54Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":6,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:54Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +163,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:53 GMT'] + date: ['Wed, 30 May 2018 07:48:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630293.797654,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666481.011643,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/director + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +187,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:53 GMT'] + date: ['Wed, 30 May 2018 07:48:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630293.286785,VS0,VE376'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666481.239605,VS0,VE456'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/cache_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:54 GMT'] + date: ['Wed, 30 May 2018 07:48:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630294.738183,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666482.749883,VS0,VE402'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/gzip + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +235,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:54 GMT'] + date: ['Wed, 30 May 2018 07:48:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630294.184390,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666482.210353,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:46Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"6","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:46Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"5NBQfakHXxmBXM0q9qtZ0S","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:47:55Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"6","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:47:55Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +260,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:54 GMT'] + date: ['Wed, 30 May 2018 07:48:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630294.372906,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666482.397733,VS0,VE140'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/request_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +284,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:55 GMT'] + date: ['Wed, 30 May 2018 07:48:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630295.959726,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666483.598522,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"6","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:44:46Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:44:46Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","cache_condition":"","created_at":"2018-05-30T07:47:55Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:47:55Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +309,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:55 GMT'] + date: ['Wed, 30 May 2018 07:48:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630295.148258,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666483.778167,VS0,VE395'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/snippet + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +333,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:55 GMT'] + date: ['Wed, 30 May 2018 07:48:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630296.591256,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666483.231873,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/logging/s3 + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +357,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:56 GMT'] + date: ['Wed, 30 May 2018 07:48:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630296.028543,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666483.411484,VS0,VE422'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/domain/cdn.example8000.com + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:56 GMT'] - fastly-ratelimit-remaining: ['858'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:04 GMT'] + fastly-ratelimit-remaining: ['575'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630297.509980,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666484.918477,VS0,VE163'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/backend/localhost + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:57 GMT'] - fastly-ratelimit-remaining: ['857'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:04 GMT'] + fastly-ratelimit-remaining: ['574'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630297.008251,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666484.143268,VS0,VE432'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/header/Set%20Location%20header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:57 GMT'] - fastly-ratelimit-remaining: ['856'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:05 GMT'] + fastly-ratelimit-remaining: ['573'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630297.499700,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666485.633133,VS0,VE461'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,41 +455,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:58 GMT'] - fastly-ratelimit-remaining: ['855'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:05 GMT'] + fastly-ratelimit-remaining: ['572'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630298.008061,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666485.153252,VS0,VE458'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":6,"deleted_at":null,"created_at":"2018-05-29T21:44:58Z","updated_at":"2018-05-29T21:44:58Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":6,"deleted_at":null,"created_at":"2018-05-30T07:48:06Z","updated_at":"2018-05-30T07:48:06Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:58 GMT'] - fastly-ratelimit-remaining: ['854'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:06 GMT'] + fastly-ratelimit-remaining: ['571'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630298.245300,VS0,VE604'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666486.671512,VS0,VE491'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -500,25 +500,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":6,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:59Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:59Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":6,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:48:06Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:48:06Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:59 GMT'] - fastly-ratelimit-remaining: ['853'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:06 GMT'] + fastly-ratelimit-remaining: ['570'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630299.925277,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666486.223427,VS0,VE482'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -528,26 +528,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"6","updated_at":"2018-05-29T21:44:59Z","deleted_at":null,"created_at":"2018-05-29T21:44:59Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"6","updated_at":"2018-05-30T07:48:07Z","deleted_at":null,"created_at":"2018-05-30T07:48:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:59 GMT'] - fastly-ratelimit-remaining: ['852'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:07 GMT'] + fastly-ratelimit-remaining: ['569'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630299.413342,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666487.767776,VS0,VE431'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -555,87 +555,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"6","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:00Z","updated_at":"2018-05-29T21:45:00Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"6","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:48:07Z","updated_at":"2018-05-30T07:48:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:00 GMT'] - fastly-ratelimit-remaining: ['851'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:07 GMT'] + fastly-ratelimit-remaining: ['568'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630300.928115,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666487.259673,VS0,VE426'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":6,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":6,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:00 GMT'] - fastly-ratelimit-remaining: ['850'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:08 GMT'] + fastly-ratelimit-remaining: ['567'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630300.398476,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666488.746701,VS0,VE435'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/activate + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:00Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":6,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:07Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:01 GMT'] - fastly-ratelimit-remaining: ['849'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:09 GMT'] + fastly-ratelimit-remaining: ['566'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630301.899818,VS0,VE990'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666488.243872,VS0,VE908'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:09Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:09Z","active":true,"number":6,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:59Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:09Z","active":true,"number":6,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:59Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -645,14 +645,14 @@ interactions: connection: [keep-alive] content-length: ['4943'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:02 GMT'] + date: ['Wed, 30 May 2018 07:48:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630302.965622,VS0,VE146'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666489.210520,VS0,VE150'] status: {code: 200, message: OK} - request: body: null @@ -661,7 +661,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:09Z","active":true,"number":6,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:59Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -669,76 +669,75 @@ interactions: connection: [keep-alive] content-length: ['1620'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:02 GMT'] + date: ['Wed, 30 May 2018 07:48:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630302.186905,VS0,VE455'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666489.422157,VS0,VE440'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:09Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:09Z","active":true,"number":6,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:59Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:09Z","active":true,"number":6,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:59Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4943'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:02 GMT'] + date: ['Wed, 30 May 2018 07:48:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630303.716564,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666490.922099,VS0,VE404'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/clone + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:09Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:03 GMT'] - fastly-ratelimit-remaining: ['848'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:10 GMT'] + fastly-ratelimit-remaining: ['565'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630303.913022,VS0,VE449'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666490.386973,VS0,VE483'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/domain response: - body: {string: !!python/unicode '[{"version":7,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:58Z","comment":"test1","updated_at":"2018-05-29T21:44:58Z"}]'} + body: {string: !!python/unicode '[{"version":7,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:48:06Z","comment":"test1","updated_at":"2018-05-30T07:48:06Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -746,21 +745,21 @@ interactions: connection: [keep-alive] content-length: ['190'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:03 GMT'] + date: ['Wed, 30 May 2018 07:48:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630303.441208,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666491.931195,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/healthcheck + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -770,21 +769,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:04 GMT'] + date: ['Wed, 30 May 2018 07:48:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630304.888961,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666491.116153,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/condition + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/condition response: body: {string: !!python/unicode '[]'} headers: @@ -794,23 +793,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:04 GMT'] + date: ['Wed, 30 May 2018 07:48:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630304.100754,VS0,VE136'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666491.299130,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:44:59Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":7,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:59Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:48:06Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":7,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:48:06Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -818,21 +817,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:04 GMT'] + date: ['Wed, 30 May 2018 07:48:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630304.312064,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666491.482805,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/director + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/director response: body: {string: !!python/unicode '[]'} headers: @@ -842,21 +841,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:04 GMT'] + date: ['Wed, 30 May 2018 07:48:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630305.512350,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666492.672499,VS0,VE169'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/cache_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -866,21 +865,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:05 GMT'] + date: ['Wed, 30 May 2018 07:48:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630305.960135,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666492.902866,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/gzip + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -890,24 +889,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:05 GMT'] + date: ['Wed, 30 May 2018 07:48:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630305.398766,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666492.079522,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:59Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"7","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:59Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"5NBQfakHXxmBXM0q9qtZ0S","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:48:07Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"7","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:48:07Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -915,21 +914,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:05 GMT'] + date: ['Wed, 30 May 2018 07:48:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630306.587894,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666492.262267,VS0,VE407'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/request_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -939,24 +938,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:06 GMT'] + date: ['Wed, 30 May 2018 07:48:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630306.779662,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666493.729725,VS0,VE386'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"7","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:45:00Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:45:00Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","cache_condition":"","created_at":"2018-05-30T07:48:07Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:48:07Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -964,21 +963,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:06 GMT'] + date: ['Wed, 30 May 2018 07:48:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630306.217466,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666493.176800,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/snippet + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -988,21 +987,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:06 GMT'] + date: ['Wed, 30 May 2018 07:48:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630306.414628,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666493.361704,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/logging/s3 + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -1012,21 +1011,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:07 GMT'] + date: ['Wed, 30 May 2018 07:48:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630307.892087,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666494.541371,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/domain/cdn.example8000.com + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1035,23 +1034,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:07 GMT'] - fastly-ratelimit-remaining: ['847'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:14 GMT'] + fastly-ratelimit-remaining: ['564'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630307.084457,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666494.014699,VS0,VE177'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/backend/localhost + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1060,23 +1059,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:08 GMT'] - fastly-ratelimit-remaining: ['846'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:14 GMT'] + fastly-ratelimit-remaining: ['563'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630308.580032,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666494.255133,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/header/Set%20Location%20header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1085,23 +1084,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:08 GMT'] - fastly-ratelimit-remaining: ['845'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:14 GMT'] + fastly-ratelimit-remaining: ['562'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630308.087728,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666494.486715,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1110,41 +1109,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:08 GMT'] - fastly-ratelimit-remaining: ['844'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:14 GMT'] + fastly-ratelimit-remaining: ['561'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630309.576665,VS0,VE181'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666495.714883,VS0,VE164'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":7,"deleted_at":null,"created_at":"2018-05-29T21:45:09Z","updated_at":"2018-05-29T21:45:09Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":7,"deleted_at":null,"created_at":"2018-05-30T07:48:15Z","updated_at":"2018-05-30T07:48:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:09 GMT'] - fastly-ratelimit-remaining: ['843'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:15 GMT'] + fastly-ratelimit-remaining: ['560'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630309.832178,VS0,VE443'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666495.942309,VS0,VE247'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -1155,25 +1154,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":7,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:45:09Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:45:09Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":7,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:48:15Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:48:15Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:09 GMT'] - fastly-ratelimit-remaining: ['842'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:15 GMT'] + fastly-ratelimit-remaining: ['559'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630309.351302,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666495.253657,VS0,VE432'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -1183,26 +1182,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"7","updated_at":"2018-05-29T21:45:10Z","deleted_at":null,"created_at":"2018-05-29T21:45:10Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"7","updated_at":"2018-05-30T07:48:15Z","deleted_at":null,"created_at":"2018-05-30T07:48:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:10 GMT'] - fastly-ratelimit-remaining: ['841'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:15 GMT'] + fastly-ratelimit-remaining: ['558'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630310.892824,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666496.747856,VS0,VE165'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "301", "request_condition": "", "name": "Set @@ -1210,103 +1209,102 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/response_object response: body: {string: !!python/unicode '{"status":"301","request_condition":"","name":"Set - 301 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"7","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:10Z","updated_at":"2018-05-29T21:45:10Z"}'} + 301 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"7","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:48:16Z","updated_at":"2018-05-30T07:48:16Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:10 GMT'] - fastly-ratelimit-remaining: ['840'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:16 GMT'] + fastly-ratelimit-remaining: ['557'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630310.403747,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666496.975923,VS0,VE169'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":7,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":7,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:11 GMT'] - fastly-ratelimit-remaining: ['839'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:16 GMT'] + fastly-ratelimit-remaining: ['556'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630311.888176,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666496.208091,VS0,VE464'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/activate + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:10Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":7,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:16Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:12 GMT'] - fastly-ratelimit-remaining: ['838'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:17 GMT'] + fastly-ratelimit-remaining: ['555'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630311.385083,VS0,VE989'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666497.735161,VS0,VE593'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:12Z","active":true,"number":7,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:17Z","active":true,"number":7,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"301","response":"Ok","name":"Set - 301 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-29T21:45:12Z","active":true,"number":7,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 301 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:48:17Z","active":true,"number":7,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"301","response":"Ok","name":"Set 301 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['5175'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:12 GMT'] + date: ['Wed, 30 May 2018 07:48:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630312.448308,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666497.389817,VS0,VE412'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled index 2a76f49..103e4ea 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,23 +14,23 @@ interactions: connection: [keep-alive] content-length: ['694'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:05 GMT'] + date: ['Wed, 30 May 2018 07:54:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527631085.452355,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666884.956958,VS0,VE420'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:58Z","active":false,"number":2,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:53Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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":null}'} headers: @@ -40,23 +40,23 @@ interactions: connection: [keep-alive] content-length: ['2376'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:06 GMT'] + date: ['Wed, 30 May 2018 07:54:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527631086.980795,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666884.437283,VS0,VE417'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:58Z","active":false,"number":2,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:53Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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":null}'} headers: @@ -66,14 +66,14 @@ interactions: connection: [keep-alive] content-length: ['2376'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:06 GMT'] + date: ['Wed, 30 May 2018 07:54:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527631087.501071,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666885.912669,VS0,VE154'] status: {code: 200, message: OK} - request: body: null @@ -82,7 +82,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -90,74 +90,73 @@ interactions: connection: [keep-alive] content-length: ['694'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:07 GMT'] + date: ['Wed, 30 May 2018 07:54:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527631087.686355,VS0,VE375'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666885.127889,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:58Z","active":false,"number":2,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:53Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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":null}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['2376'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:07 GMT'] + date: ['Wed, 30 May 2018 07:54:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527631087.133261,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666885.315984,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/clone + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:07 GMT'] - fastly-ratelimit-remaining: ['672'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:54:46 GMT'] + fastly-ratelimit-remaining: ['389'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527631087.361078,VS0,VE456'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666885.489315,VS0,VE526'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/domain + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","created_at":"2018-05-29T21:45:57Z","comment":"test1","updated_at":"2018-05-29T21:45:57Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","created_at":"2018-05-30T07:48:57Z","comment":"test1","updated_at":"2018-05-30T07:48:57Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -165,21 +164,21 @@ interactions: connection: [keep-alive] content-length: ['190'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:08 GMT'] + date: ['Wed, 30 May 2018 07:54:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527631088.890287,VS0,VE372'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666886.073340,VS0,VE393'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/healthcheck + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -189,21 +188,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:08 GMT'] + date: ['Wed, 30 May 2018 07:54:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527631088.333439,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666887.526491,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/condition + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -213,23 +212,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:09 GMT'] + date: ['Wed, 30 May 2018 07:54:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527631089.775577,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666887.707566,VS0,VE444'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/backend + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:45:58Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:45:58Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:48:58Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:48:58Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -237,21 +236,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:09 GMT'] + date: ['Wed, 30 May 2018 07:54:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527631089.210946,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666887.213002,VS0,VE418'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/director + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -261,21 +260,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:10 GMT'] + date: ['Wed, 30 May 2018 07:54:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527631090.652436,VS0,VE375'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666888.690901,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/cache_settings + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -285,21 +284,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:10 GMT'] + date: ['Wed, 30 May 2018 07:54:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527631090.190741,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666888.870119,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/gzip + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -309,24 +308,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:10 GMT'] + date: ['Wed, 30 May 2018 07:54:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527631091.702141,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666888.338503,VS0,VE414'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/header + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"57Y1hKLhUxDEk5fr6QHM8L","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:45:58Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:45:58Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"6yzF2I7iLleWr5wHj0GKrl","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:48:58Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:48:58Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -334,21 +333,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:11 GMT'] + date: ['Wed, 30 May 2018 07:54:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527631091.886763,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666889.813381,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/request_settings + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -358,24 +357,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:11 GMT'] + date: ['Wed, 30 May 2018 07:54:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527631091.417121,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666889.259328,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/response_object + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","cache_condition":"","created_at":"2018-05-29T21:45:59Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:45:59Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","cache_condition":"","created_at":"2018-05-30T07:48:58Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:48:58Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -383,21 +382,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:11 GMT'] + date: ['Wed, 30 May 2018 07:54:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527631092.852389,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666889.450549,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/snippet + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -407,21 +406,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:12 GMT'] + date: ['Wed, 30 May 2018 07:54:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527631092.040206,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666890.919755,VS0,VE406'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/logging/s3 + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -431,21 +430,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:12 GMT'] + date: ['Wed, 30 May 2018 07:54:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527631092.228010,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666890.387598,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -454,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:13 GMT'] - fastly-ratelimit-remaining: ['671'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:54:51 GMT'] + fastly-ratelimit-remaining: ['388'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527631093.752907,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666891.833778,VS0,VE434'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/backend/localhost + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -479,23 +478,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:13 GMT'] - fastly-ratelimit-remaining: ['670'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:54:51 GMT'] + fastly-ratelimit-remaining: ['387'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527631093.260471,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666891.328815,VS0,VE454'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -504,23 +503,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:14 GMT'] - fastly-ratelimit-remaining: ['669'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:54:52 GMT'] + fastly-ratelimit-remaining: ['386'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527631094.771872,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666892.842901,VS0,VE158'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -529,41 +528,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:14 GMT'] - fastly-ratelimit-remaining: ['668'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:54:52 GMT'] + fastly-ratelimit-remaining: ['385'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527631094.289740,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666892.060563,VS0,VE431'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/domain + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":3,"deleted_at":null,"created_at":"2018-05-29T21:58:15Z","updated_at":"2018-05-29T21:58:15Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"6yzF2I7iLleWr5wHj0GKrl","version":3,"deleted_at":null,"created_at":"2018-05-30T07:54:52Z","updated_at":"2018-05-30T07:54:52Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:15 GMT'] - fastly-ratelimit-remaining: ['667'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:54:52 GMT'] + fastly-ratelimit-remaining: ['384'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527631095.797818,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666893.561199,VS0,VE209'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -574,25 +573,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/backend + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:58:15Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:58:15Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:54:53Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:54:53Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:15 GMT'] - fastly-ratelimit-remaining: ['666'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:54:53 GMT'] + fastly-ratelimit-remaining: ['383'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527631095.301983,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666893.828661,VS0,VE445'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -602,26 +601,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/header + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"3","updated_at":"2018-05-29T21:58:16Z","deleted_at":null,"created_at":"2018-05-29T21:58:16Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","version":"3","updated_at":"2018-05-30T07:54:53Z","deleted_at":null,"created_at":"2018-05-30T07:54:53Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:16 GMT'] - fastly-ratelimit-remaining: ['665'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:54:53 GMT'] + fastly-ratelimit-remaining: ['382'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527631096.821635,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666893.335430,VS0,VE450'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "301", "request_condition": "", "name": "Set @@ -629,60 +628,60 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/response_object + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/response_object response: body: {string: !!python/unicode '{"status":"301","request_condition":"","name":"Set - 301 status code","content":"","content_type":"","response":"Ok","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:58:16Z","updated_at":"2018-05-29T21:58:16Z"}'} + 301 status code","content":"","content_type":"","response":"Ok","service_id":"6yzF2I7iLleWr5wHj0GKrl","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:54:53Z","updated_at":"2018-05-30T07:54:53Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:16 GMT'] - fastly-ratelimit-remaining: ['664'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:54:54 GMT'] + fastly-ratelimit-remaining: ['381'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527631096.333500,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666894.844585,VS0,VE161'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/settings + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"57Y1hKLhUxDEk5fr6QHM8L"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"6yzF2I7iLleWr5wHj0GKrl"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:17 GMT'] - fastly-ratelimit-remaining: ['663'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:54:54 GMT'] + fastly-ratelimit-remaining: ['380'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527631097.813526,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666894.069252,VS0,VE450'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false},{"testing":false,"locked":false,"number":3,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:58:07Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:58:16Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:58:16Z","active":false,"number":3,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:58:07Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false},{"testing":false,"locked":false,"number":3,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:54:45Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:54:53Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:54:53Z","active":false,"number":3,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:54:45Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"301","response":"Ok","name":"Set 301 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":null}'} headers: @@ -692,13 +691,13 @@ interactions: connection: [keep-alive] content-length: ['2609'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:17 GMT'] + date: ['Wed, 30 May 2018 07:54:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527631097.311631,VS0,VE438'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666895.576144,VS0,VE161'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal index f3e810f..85dc50f 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal +++ b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:12Z","active":true,"number":7,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:03Z","comment":""},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:17Z","active":true,"number":7,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:10Z","comment":""},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,75 +14,76 @@ interactions: connection: [keep-alive] content-length: ['2085'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:23 GMT'] + date: ['Wed, 30 May 2018 07:48:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630323.220079,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666508.023363,VS0,VE195'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:21Z","active":false,"number":8,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:13Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:26Z","active":false,"number":8,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:18Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:12Z","active":true,"number":7,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:17Z","active":true,"number":7,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"301","response":"Ok","name":"Set 301 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['5410'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:24 GMT'] + date: ['Wed, 30 May 2018 07:48:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630324.702886,VS0,VE358'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666508.282217,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/clone + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":9,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:24 GMT'] - fastly-ratelimit-remaining: ['827'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:28 GMT'] + fastly-ratelimit-remaining: ['544'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630324.149780,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666508.461693,VS0,VE213'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/domain response: - body: {string: !!python/unicode '[{"version":9,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:45:09Z","comment":"test1","updated_at":"2018-05-29T21:45:09Z"}]'} + body: {string: !!python/unicode '[{"version":9,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:48:15Z","comment":"test1","updated_at":"2018-05-30T07:48:15Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -90,21 +91,21 @@ interactions: connection: [keep-alive] content-length: ['190'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:25 GMT'] + date: ['Wed, 30 May 2018 07:48:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630325.653507,VS0,VE372'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666509.736010,VS0,VE169'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/healthcheck + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:25 GMT'] + date: ['Wed, 30 May 2018 07:48:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630325.149782,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666509.966761,VS0,VE1043'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/condition + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/condition response: body: {string: !!python/unicode '[]'} headers: @@ -138,23 +139,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:25 GMT'] + date: ['Wed, 30 May 2018 07:48:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630326.664617,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666510.069313,VS0,VE191'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:45:09Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":9,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:45:09Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:48:15Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":9,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:48:15Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -162,21 +163,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:26 GMT'] + date: ['Wed, 30 May 2018 07:48:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630326.848361,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666510.322419,VS0,VE457'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/director + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +187,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:26 GMT'] + date: ['Wed, 30 May 2018 07:48:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630326.307286,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666511.839885,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/cache_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:26 GMT'] + date: ['Wed, 30 May 2018 07:48:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630327.791326,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666511.031077,VS0,VE153'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/gzip + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -234,24 +235,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:27 GMT'] + date: ['Wed, 30 May 2018 07:48:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630327.974989,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666511.244791,VS0,VE190'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:45:10Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"9","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:45:10Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"5NBQfakHXxmBXM0q9qtZ0S","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:48:15Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"9","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:48:15Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -259,21 +260,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:27 GMT'] + date: ['Wed, 30 May 2018 07:48:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630327.167017,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666511.495035,VS0,VE151'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/request_settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -283,24 +284,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:27 GMT'] + date: ['Wed, 30 May 2018 07:48:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630328.605139,VS0,VE375'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666512.708010,VS0,VE154'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"9","status":"301","name":"Set - 301 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:45:10Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:45:10Z"}]'} + 301 status code","content":"","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","cache_condition":"","created_at":"2018-05-30T07:48:16Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:48:16Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -308,21 +309,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:28 GMT'] + date: ['Wed, 30 May 2018 07:48:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630328.057329,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527666512.924286,VS0,VE463'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/snippet + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -332,21 +333,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:28 GMT'] + date: ['Wed, 30 May 2018 07:48:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630329.541411,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666512.447974,VS0,VE425'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/logging/s3 + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -356,21 +357,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:29 GMT'] + date: ['Wed, 30 May 2018 07:48:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630329.725995,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666513.933578,VS0,VE170'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/domain/cdn.example8000.com + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -379,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:29 GMT'] - fastly-ratelimit-remaining: ['826'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:33 GMT'] + fastly-ratelimit-remaining: ['543'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630329.168696,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666513.162920,VS0,VE435'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/backend/localhost + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -404,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:29 GMT'] - fastly-ratelimit-remaining: ['825'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:33 GMT'] + fastly-ratelimit-remaining: ['542'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630330.668291,VS0,VE180'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666514.658768,VS0,VE175'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/header/Set%20Location%20header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -429,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:30 GMT'] - fastly-ratelimit-remaining: ['824'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:34 GMT'] + fastly-ratelimit-remaining: ['541'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630330.923223,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666514.893687,VS0,VE209'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/response_object/Set%20301%20status%20code + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/response_object/Set%20301%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -454,41 +455,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:30 GMT'] - fastly-ratelimit-remaining: ['823'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:34 GMT'] + fastly-ratelimit-remaining: ['540'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630330.414330,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666514.162794,VS0,VE465'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/domain + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":9,"deleted_at":null,"created_at":"2018-05-29T21:45:31Z","updated_at":"2018-05-29T21:45:31Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":9,"deleted_at":null,"created_at":"2018-05-30T07:48:35Z","updated_at":"2018-05-30T07:48:35Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:31 GMT'] - fastly-ratelimit-remaining: ['822'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:35 GMT'] + fastly-ratelimit-remaining: ['539'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630331.913255,VS0,VE446'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666515.688612,VS0,VE519'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -499,25 +500,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/backend + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":9,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:45:31Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:45:31Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":9,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:48:35Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:48:35Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:31 GMT'] - fastly-ratelimit-remaining: ['821'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:35 GMT'] + fastly-ratelimit-remaining: ['538'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630331.436719,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666515.268285,VS0,VE460'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -527,26 +528,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/header + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"9","updated_at":"2018-05-29T21:45:32Z","deleted_at":null,"created_at":"2018-05-29T21:45:32Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"9","updated_at":"2018-05-30T07:48:36Z","deleted_at":null,"created_at":"2018-05-30T07:48:36Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:32 GMT'] - fastly-ratelimit-remaining: ['820'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:36 GMT'] + fastly-ratelimit-remaining: ['537'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630332.929604,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666516.792638,VS0,VE485'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -554,87 +555,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/response_object + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"9","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:32Z","updated_at":"2018-05-29T21:45:32Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"9","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:48:36Z","updated_at":"2018-05-30T07:48:36Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:32 GMT'] - fastly-ratelimit-remaining: ['819'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:36 GMT'] + fastly-ratelimit-remaining: ['536'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] - x-timer: ['S1527630332.165739,VS0,VE400'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666516.337067,VS0,VE167'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/settings + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":9,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":9,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:33 GMT'] - fastly-ratelimit-remaining: ['818'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:37 GMT'] + fastly-ratelimit-remaining: ['535'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630333.641624,VS0,VE419'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666517.566907,VS0,VE489'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/activate + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:32Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:36Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:34 GMT'] - fastly-ratelimit-remaining: ['817'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:37 GMT'] + fastly-ratelimit-remaining: ['534'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630333.138306,VS0,VE885'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666517.117655,VS0,VE633'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -644,14 +645,14 @@ interactions: connection: [keep-alive] content-length: ['5640'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:34 GMT'] + date: ['Wed, 30 May 2018 07:48:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630334.098532,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666518.811107,VS0,VE151'] status: {code: 200, message: OK} - request: body: null @@ -660,7 +661,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -668,69 +669,67 @@ interactions: connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:34 GMT'] + date: ['Wed, 30 May 2018 07:48:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630334.311309,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666518.022913,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['5640'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:34 GMT'] + date: ['Wed, 30 May 2018 07:48:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630335.782206,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666518.246232,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['5640'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:35 GMT'] + date: ['Wed, 30 May 2018 07:48:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630335.964132,VS0,VE106'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666518.421437,VS0,VE448'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled index f32d603..3caf015 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,52 +14,53 @@ interactions: connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:35 GMT'] + date: ['Wed, 30 May 2018 07:48:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630335.228017,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527666519.995855,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['5640'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:35 GMT'] + date: ['Wed, 30 May 2018 07:48:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630335.435110,VS0,VE107'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666519.210555,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -69,14 +70,14 @@ interactions: connection: [keep-alive] content-length: ['5640'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:35 GMT'] + date: ['Wed, 30 May 2018 07:48:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630336.617219,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666519.401246,VS0,VE161'] status: {code: 200, message: OK} - request: body: null @@ -85,75 +86,75 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:36 GMT'] + date: ['Wed, 30 May 2018 07:48:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630336.804410,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527666520.623584,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['5640'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:36 GMT'] + date: ['Wed, 30 May 2018 07:48:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630336.274009,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666520.832955,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['5640'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:36 GMT'] + date: ['Wed, 30 May 2018 07:48:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630336.457536,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666520.011175,VS0,VE166'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_not_exist b/tests/fixtures/cassettes/test_service_does_not_exist index 47542d7..fc9b162 100644 --- a/tests/fixtures/cassettes/test_service_does_not_exist +++ b/tests/fixtures/cassettes/test_service_does_not_exist @@ -6,81 +6,81 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:37 GMT'] + date: ['Wed, 30 May 2018 07:48:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630337.959488,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666520.290847,VS0,VE179'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['5640'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:37 GMT'] + date: ['Wed, 30 May 2018 07:48:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630337.177855,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666521.530566,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/deactivate + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:38 GMT'] - fastly-ratelimit-remaining: ['816'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:40 GMT'] + fastly-ratelimit-remaining: ['533'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630338.613725,VS0,VE458'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527666521.712411,VS0,VE211'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx + uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,16 +89,16 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:38 GMT'] - fastly-ratelimit-remaining: ['815'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:41 GMT'] + fastly-ratelimit-remaining: ['532'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630338.465960,VS0,VE390'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666521.984499,VS0,VE447'] status: {code: 200, message: OK} - request: body: null @@ -111,19 +111,18 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Jimdo Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:39 GMT'] + date: ['Wed, 30 May 2018 07:48:41 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] - x-timer: ['S1527630339.275645,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666521.491561,VS0,VE124'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -133,32 +132,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"34bde2373978f3e8697b2f8830349de66d875a78","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:45:39Z","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi"}'} + Fastly Ansible Module Test","publish_key":"6b0afae9385b6cb754fbaf0c5c8799781bb979b4","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","comment":"","updated_at":"2018-05-30T07:48:42Z","id":"6nOxmBhceCZJ2hqJH70k5I"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['518'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:40 GMT'] - fastly-ratelimit-remaining: ['814'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:42 GMT'] + fastly-ratelimit-remaining: ['531'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630340.652842,VS0,VE383'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666522.675098,VS0,VE440'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/details + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:39Z","active":false,"number":1,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:39Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false}],"created_at":"2018-05-30T07:48:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:42Z","id":"6nOxmBhceCZJ2hqJH70k5I","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:42Z","active":false,"number":1,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -166,46 +165,46 @@ interactions: connection: [keep-alive] content-length: ['1113'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:40 GMT'] + date: ['Wed, 30 May 2018 07:48:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630340.340675,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527666522.210980,VS0,VE266'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/1/clone + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:41 GMT'] - fastly-ratelimit-remaining: ['813'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:43 GMT'] + fastly-ratelimit-remaining: ['530'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630341.719201,VS0,VE488'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666523.536596,VS0,VE465'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/domain + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -215,21 +214,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:41 GMT'] + date: ['Wed, 30 May 2018 07:48:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630341.410167,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666523.063612,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/healthcheck + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -239,21 +238,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:42 GMT'] + date: ['Wed, 30 May 2018 07:48:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630342.125233,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666523.244978,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/condition + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -263,21 +262,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:42 GMT'] + date: ['Wed, 30 May 2018 07:48:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630342.331953,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666523.429914,VS0,VE412'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/backend + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -287,21 +286,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:42 GMT'] + date: ['Wed, 30 May 2018 07:48:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630343.557883,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666524.901754,VS0,VE450'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/director + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -311,21 +310,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:43 GMT'] + date: ['Wed, 30 May 2018 07:48:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630343.000989,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666524.412146,VS0,VE383'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/cache_settings + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -335,21 +334,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:43 GMT'] + date: ['Wed, 30 May 2018 07:48:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630343.477792,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527666525.855327,VS0,VE132'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/gzip + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -359,21 +358,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:44 GMT'] + date: ['Wed, 30 May 2018 07:48:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630344.919621,VS0,VE398'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527666525.049348,VS0,VE176'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/header + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -383,21 +382,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:44 GMT'] + date: ['Wed, 30 May 2018 07:48:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630344.390296,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666525.285774,VS0,VE414'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/request_settings + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -407,21 +406,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:44 GMT'] + date: ['Wed, 30 May 2018 07:48:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630345.574493,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527666526.761766,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/response_object + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -431,21 +430,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:45 GMT'] + date: ['Wed, 30 May 2018 07:48:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630345.051376,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666526.950867,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/snippet + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -455,21 +454,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:45 GMT'] + date: ['Wed, 30 May 2018 07:48:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630345.244862,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527666526.131043,VS0,VE429'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/logging/s3 + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -479,39 +478,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:45 GMT'] + date: ['Wed, 30 May 2018 07:48:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630345.436491,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666527.622863,VS0,VE177'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/domain + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":2,"deleted_at":null,"created_at":"2018-05-29T21:45:46Z","updated_at":"2018-05-29T21:45:46Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"6nOxmBhceCZJ2hqJH70k5I","version":2,"deleted_at":null,"created_at":"2018-05-30T07:48:47Z","updated_at":"2018-05-30T07:48:47Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:46 GMT'] - fastly-ratelimit-remaining: ['812'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:47 GMT'] + fastly-ratelimit-remaining: ['529'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630346.889841,VS0,VE456'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666527.861342,VS0,VE483'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -522,25 +521,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/backend + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:45:46Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:45:46Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6nOxmBhceCZJ2hqJH70k5I","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:48:47Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:48:47Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:46 GMT'] - fastly-ratelimit-remaining: ['811'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:47 GMT'] + fastly-ratelimit-remaining: ['528'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630346.416811,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666527.404533,VS0,VE434'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -550,26 +549,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/header + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":"2","updated_at":"2018-05-29T21:45:47Z","deleted_at":null,"created_at":"2018-05-29T21:45:47Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6nOxmBhceCZJ2hqJH70k5I","version":"2","updated_at":"2018-05-30T07:48:48Z","deleted_at":null,"created_at":"2018-05-30T07:48:48Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:47 GMT'] - fastly-ratelimit-remaining: ['810'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:48 GMT'] + fastly-ratelimit-remaining: ['527'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630347.912825,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666528.900937,VS0,VE193'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -577,87 +576,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/response_object + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:47Z","updated_at":"2018-05-29T21:45:47Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"6nOxmBhceCZJ2hqJH70k5I","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:48:48Z","updated_at":"2018-05-30T07:48:48Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:47 GMT'] - fastly-ratelimit-remaining: ['809'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:48 GMT'] + fastly-ratelimit-remaining: ['526'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630347.396927,VS0,VE394'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666528.158347,VS0,VE496'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/settings + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4u2fnCmSqvXoeMaXUyWWRi"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6nOxmBhceCZJ2hqJH70k5I"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:48 GMT'] - fastly-ratelimit-remaining: ['808'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:49 GMT'] + fastly-ratelimit-remaining: ['525'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630348.870023,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666529.713000,VS0,VE473'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/activate + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:47Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:48Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:49 GMT'] - fastly-ratelimit-remaining: ['807'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:49 GMT'] + fastly-ratelimit-remaining: ['524'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630348.362801,VS0,VE1034'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527666529.249704,VS0,VE629'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/details + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:49Z","deployed":false}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:49Z","deployed":false}],"created_at":"2018-05-30T07:48:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:42Z","id":"6nOxmBhceCZJ2hqJH70k5I","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:49Z","active":true,"number":2,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:49Z","active":true,"number":2,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -667,13 +666,13 @@ interactions: connection: [keep-alive] content-length: ['4015'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:49 GMT'] + date: ['Wed, 30 May 2018 07:48:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630349.473028,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527666530.938848,VS0,VE197'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled index 89c5e1a..4bb1a2b 100644 --- a/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled @@ -6,32 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","comment":""}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:49Z","active":true,"number":2,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","comment":""}],"created_at":"2018-05-30T07:48:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:42Z","id":"6nOxmBhceCZJ2hqJH70k5I"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['692'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:50 GMT'] + date: ['Wed, 30 May 2018 07:48:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630350.766916,VS0,VE389'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666530.271579,VS0,VE187'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/details + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:49Z","deployed":false}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:49Z","deployed":false}],"created_at":"2018-05-30T07:48:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:42Z","id":"6nOxmBhceCZJ2hqJH70k5I","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:49Z","active":true,"number":2,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:48:49Z","active":true,"number":2,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -41,46 +42,46 @@ interactions: connection: [keep-alive] content-length: ['4015'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:50 GMT'] + date: ['Wed, 30 May 2018 07:48:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630350.232843,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666531.518288,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/deactivate + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:49Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:49Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:50 GMT'] - fastly-ratelimit-remaining: ['806'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:51 GMT'] + fastly-ratelimit-remaining: ['523'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630350.415828,VS0,VE232'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527666531.712698,VS0,VE520'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi + uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,16 +90,16 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:51 GMT'] - fastly-ratelimit-remaining: ['805'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:51 GMT'] + fastly-ratelimit-remaining: ['522'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630351.720371,VS0,VE390'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527666531.294414,VS0,VE435'] status: {code: 200, message: OK} - request: body: null @@ -115,14 +116,14 @@ interactions: connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:51 GMT'] + date: ['Wed, 30 May 2018 07:48:51 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630351.184330,VS0,VE399'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527666532.790922,VS0,VE124'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -132,32 +133,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"75af2885871f9013fab19959fad10c6aa3d86569","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:45:51Z","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L"}'} + Fastly Ansible Module Test","publish_key":"413e4710525de209b82e913cf0dc7169943cb5c0","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:48:52Z","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['518'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:52 GMT'] - fastly-ratelimit-remaining: ['804'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:52 GMT'] + fastly-ratelimit-remaining: ['521'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630352.659827,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527666532.974088,VS0,VE440'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:51Z","active":false,"number":1,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:51Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:52Z","active":false,"number":1,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:52Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -165,46 +166,46 @@ interactions: connection: [keep-alive] content-length: ['1113'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:52 GMT'] + date: ['Wed, 30 May 2018 07:48:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630352.120383,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666532.474547,VS0,VE180'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/1/clone + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:53 GMT'] - fastly-ratelimit-remaining: ['803'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:53 GMT'] + fastly-ratelimit-remaining: ['520'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630353.590328,VS0,VE491'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666533.715087,VS0,VE501'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/domain + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -214,21 +215,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:53 GMT'] + date: ['Wed, 30 May 2018 07:48:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630353.171165,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527666533.276361,VS0,VE168'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/healthcheck + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -238,21 +239,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:54 GMT'] + date: ['Wed, 30 May 2018 07:48:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630354.611668,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527666534.504150,VS0,VE425'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/condition + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -262,21 +263,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:54 GMT'] + date: ['Wed, 30 May 2018 07:48:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630354.091188,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666534.989941,VS0,VE392'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/backend + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -286,21 +287,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:54 GMT'] + date: ['Wed, 30 May 2018 07:48:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630354.282845,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527666534.440927,VS0,VE168'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/director + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -310,21 +311,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:54 GMT'] + date: ['Wed, 30 May 2018 07:48:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630354.474851,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666535.669221,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/cache_settings + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -334,21 +335,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:55 GMT'] + date: ['Wed, 30 May 2018 07:48:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630355.665787,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527666535.895684,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/gzip + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -358,21 +359,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:55 GMT'] + date: ['Wed, 30 May 2018 07:48:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630355.106465,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527666535.081652,VS0,VE446'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/header + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -382,21 +383,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:55 GMT'] + date: ['Wed, 30 May 2018 07:48:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630355.298770,VS0,VE357'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527666536.588443,VS0,VE165'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/request_settings + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -406,21 +407,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:55 GMT'] + date: ['Wed, 30 May 2018 07:48:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630356.728987,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527666536.812497,VS0,VE412'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/response_object + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -430,21 +431,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:56 GMT'] + date: ['Wed, 30 May 2018 07:48:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630356.908674,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527666536.286684,VS0,VE394'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/snippet + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -454,21 +455,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:56 GMT'] + date: ['Wed, 30 May 2018 07:48:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] - x-timer: ['S1527630356.391407,VS0,VE552'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666537.741384,VS0,VE430'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/logging/s3 + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -478,39 +479,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:57 GMT'] + date: ['Wed, 30 May 2018 07:48:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630357.016630,VS0,VE291'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527666537.232690,VS0,VE126'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/domain + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":2,"deleted_at":null,"created_at":"2018-05-29T21:45:57Z","updated_at":"2018-05-29T21:45:57Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"6yzF2I7iLleWr5wHj0GKrl","version":2,"deleted_at":null,"created_at":"2018-05-30T07:48:57Z","updated_at":"2018-05-30T07:48:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:57 GMT'] - fastly-ratelimit-remaining: ['802'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:57 GMT'] + fastly-ratelimit-remaining: ['519'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630357.385644,VS0,VE534'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527666537.421543,VS0,VE537'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -521,25 +522,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/backend + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:45:58Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:45:58Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:48:58Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:48:58Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:58 GMT'] - fastly-ratelimit-remaining: ['801'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:58 GMT'] + fastly-ratelimit-remaining: ['518'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630358.995121,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527666538.017410,VS0,VE179'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -549,26 +550,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/header + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"2","updated_at":"2018-05-29T21:45:58Z","deleted_at":null,"created_at":"2018-05-29T21:45:58Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","version":"2","updated_at":"2018-05-30T07:48:58Z","deleted_at":null,"created_at":"2018-05-30T07:48:58Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:58 GMT'] - fastly-ratelimit-remaining: ['800'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:58 GMT'] + fastly-ratelimit-remaining: ['517'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630359.551939,VS0,VE437'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527666538.257660,VS0,VE480'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -576,60 +577,60 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/response_object + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:59Z","updated_at":"2018-05-29T21:45:59Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"6yzF2I7iLleWr5wHj0GKrl","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:48:58Z","updated_at":"2018-05-30T07:48:58Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:59 GMT'] - fastly-ratelimit-remaining: ['799'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:58 GMT'] + fastly-ratelimit-remaining: ['516'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630359.064093,VS0,VE444'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527666539.799500,VS0,VE193'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/settings + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"57Y1hKLhUxDEk5fr6QHM8L"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6yzF2I7iLleWr5wHj0GKrl"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:00 GMT'] - fastly-ratelimit-remaining: ['798'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 07:48:59 GMT'] + fastly-ratelimit-remaining: ['515'] + fastly-ratelimit-reset: ['1527667200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630360.582792,VS0,VE491'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527666539.053210,VS0,VE446'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:58Z","active":false,"number":2,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:53Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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":null}'} headers: @@ -639,13 +640,13 @@ interactions: connection: [keep-alive] content-length: ['2376'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:00 GMT'] + date: ['Wed, 30 May 2018 07:48:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630360.148934,VS0,VE187'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527666540.559142,VS0,VE163'] status: {code: 200, message: OK} version: 1 diff --git a/tests/test_fastly_s3s.py b/tests/test_fastly_logging_s3.py similarity index 98% rename from tests/test_fastly_s3s.py rename to tests/test_fastly_logging_s3.py index 2386a01..e84e6fa 100644 --- a/tests/test_fastly_s3s.py +++ b/tests/test_fastly_logging_s3.py @@ -8,7 +8,7 @@ sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'library')) from fastly_service import FastlyConfiguration -class TestFastlyS3s(TestCommon): +class TestFastlyLoggingS3(TestCommon): @TestCommon.vcr.use_cassette() def test_fastly_s3s(self): From 7c73a871d21c379e9a65bdb627eade7cb0ac244b Mon Sep 17 00:00:00 2001 From: Paul Seiffert Date: Wed, 30 May 2018 14:31:37 +0200 Subject: [PATCH 2/8] Add support for syslog logging --- library/fastly_service.py | 92 ++++++++++++++++++++++++++--- tests/test_fastly_logging_syslog.py | 72 ++++++++++++++++++++++ 2 files changed, 156 insertions(+), 8 deletions(-) create mode 100644 tests/test_fastly_logging_syslog.py diff --git a/library/fastly_service.py b/library/fastly_service.py index c75c2c7..58c5899 100644 --- a/library/fastly_service.py +++ b/library/fastly_service.py @@ -66,6 +66,10 @@ required: false description: - List of S3 loggers + syslogs: + required: false + description: + - List of Syslog loggers settings: required: false description: @@ -163,6 +167,7 @@ def default(self, o): class FastlyValidationError(RuntimeError): def __init__(self, cls, message): + super(FastlyValidationError, self).__init__(message) self.cls = cls self.message = message @@ -171,9 +176,6 @@ class FastlyObject(object): schema = {} sort_key = None - def to_json(self): - return self.__dict__ - def read_config(self, config, validate_choices, param_name): required = self.schema[param_name].get('required', True) param_type = self.schema[param_name].get('type', 'str') @@ -227,6 +229,9 @@ def read_config(self, config, validate_choices, param_name): return value + def to_json(self): + return {k: v for k, v in self.__dict__.iteritems() if v or not self.schema[k].get('omit_empty', False)} + def __eq__(self, other): return self.__dict__ == other.__dict__ @@ -558,6 +563,44 @@ def sort_key(f): return f.name +class FastlySyslogLogging(FastlyObject): + schema = { + 'name': dict(required=True, type='str'), + 'hostname': dict(required=False, type='str'), + 'port': dict(required=True, type='int'), + 'address': dict(required=True, type='str', default=None, exclude_empty_str=True), + 'format_version': dict(required=False, type='int', default=2), + 'format': dict(required=False, type='str', default='%{%Y-%m-%dT%H:%M:%S}t %h "%r" %>s %b'), + 'ipv4': dict(required=False, type='str', default=None, exclude_empty_str=True, omit_empty=True), + 'message_type': dict(required=False, type='str', default="classic", choices=['classic', 'loggly', 'logplex', 'blank', None]), + 'placement': dict(required=False, type='str', default=None), + 'response_condition': dict(required=False, type='str', default=None, exclude_empty_str=True), + 'tls_ca_cert': dict(required=False, type='str', default=None, exclude_empty_str=True), + 'tls_hostname': dict(required=False, type='str', default=None, exclude_empty_str=True), + 'token': dict(required=False, type='str', default=None), + 'use_tls': dict(required=False, type='int', default=0), + } + + def __init__(self, config, validate_choices): + self.name = self.read_config(config, validate_choices, 'name') + self.address = self.read_config(config, validate_choices, 'address') + self.format_version = self.read_config(config, validate_choices, 'format_version') + self.format = self.read_config(config, validate_choices, 'format') + self.hostname = self.read_config(config, validate_choices, 'hostname') or self.address + self.ipv4 = self.read_config(config, validate_choices, 'ipv4') + self.message_type = self.read_config(config, validate_choices, 'message_type') + self.placement = self.read_config(config, validate_choices, 'placement') + self.port = self.read_config(config, validate_choices, 'port') + self.response_condition = self.read_config(config, validate_choices, 'response_condition') + self.tls_ca_cert = self.read_config(config, validate_choices, 'tls_ca_cert') + self.tls_hostname = self.read_config(config, validate_choices, 'tls_hostname') + self.token = self.read_config(config, validate_choices, 'token') + self.use_tls = self.read_config(config, validate_choices, 'use_tls') + + def sort_key(f): + return f.name + + class FastlySettings(FastlyObject): schema = { 'general.default_ttl': dict(required=False, type='int', default=3600) @@ -586,6 +629,7 @@ def __init__(self, cfg, validate_choices=True): self.request_settings = [FastlyRequestSetting(r, validate_choices) for r in cfg.get('request_settings') or []] self.snippets = [FastlyVclSnippet(s, validate_choices) for s in cfg.get('snippets') or []] self.s3s = [FastlyS3Logging(s, validate_choices) for s in cfg.get('s3s') or []] + self.syslogs = [FastlySyslogLogging(s, validate_choices) for s in cfg.get('syslogs') or []] self.settings = FastlySettings(cfg.get('settings', dict()), validate_choices) def __eq__(self, other): @@ -601,6 +645,7 @@ def __eq__(self, other): and sorted(self.response_objects, key=FastlyResponseObject.sort_key) == sorted(other.response_objects, key=FastlyResponseObject.sort_key) \ and sorted(self.snippets, key=FastlyVclSnippet.sort_key) == sorted(other.snippets, key=FastlyVclSnippet.sort_key) \ and sorted(self.s3s, key=FastlyS3Logging.sort_key) == sorted(other.s3s, key=FastlyS3Logging.sort_key) \ + and sorted(self.syslogs, key=FastlySyslogLogging.sort_key) == sorted(other.syslogs, key=FastlySyslogLogging.sort_key) \ and self.settings == other.settings def __ne__(self, other): @@ -645,7 +690,6 @@ def _request(self, path, method='GET', payload=None, headers=None): body = None if payload is not None: body = json.dumps(payload, cls=FastlyObjectEncoder) - conn = httplib.HTTPSConnection(self.FASTLY_API_HOST) conn.request(method, path, body, headers) return FastlyResponse(conn.getresponse(), method, path) @@ -989,6 +1033,29 @@ def delete_s3_logger(self, service_id, version, s3_logger): raise Exception("Error deleting S3 logger %s service %s, version %s (%s)" % ( s3_logger, service_id, version, response.payload['detail'])) + def get_syslog_loggers(self, service_id, version): + response = self._request('/service/%s/version/%s/logging/syslog' % (urllib.quote(service_id, ''), version), 'GET') + if response.status == 200: + return response.payload + raise Exception( + "Error retrieving syslog loggers for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + + def create_syslog_logger(self, service_id, version, syslog): + response = self._request('/service/%s/version/%s/logging/syslog' % (service_id, version), 'POST', syslog) + + if response.status == 200: + return response.payload + else: + raise Exception("Error creating syslog logger '%s' for service %s, version %s (%s)" % (syslog.name, service_id, version, response.payload['detail'])) + + def delete_syslog_logger(self, service_id, version, syslog_logger): + response = self._request('/service/%s/version/%s/logging/syslog/%s' % (urllib.quote(service_id, ''), version, urllib.quote(syslog_logger, '')), + 'DELETE') + if response.status == 200: + return response.payload + raise Exception("Error deleting syslog logger %s service %s, version %s (%s)" % ( + syslog_logger, service_id, version, response.payload['detail'])) + def create_settings(self, service_id, version, settings): response = self._request('/service/%s/version/%s/settings' % (urllib.quote(service_id, ''), version), 'PUT', settings) if response.status == 200: @@ -1064,6 +1131,7 @@ def reset_version(self, service_id, version_to_delete): response_objects = self.client.get_response_objects_name(service_id, version_to_delete) snippets = self.client.get_vcl_snippet_name(service_id, version_to_delete) s3_loggers = self.client.get_s3_loggers(service_id, version_to_delete) + syslog_loggers = self.client.get_syslog_loggers(service_id, version_to_delete) for domain_name in domain: self.client.delete_domain(service_id, version_to_delete, domain_name['name']) @@ -1098,8 +1166,11 @@ def reset_version(self, service_id, version_to_delete): for vcl_snippet_name in snippets: self.client.delete_vcl_snippet(service_id, version_to_delete, vcl_snippet_name['name']) - for s3_logger in s3_loggers: - self.client.delete_s3_logger(service_id, version_to_delete, s3_logger['name']) + for logger in s3_loggers: + self.client.delete_s3_logger(service_id, version_to_delete, logger['name']) + + for logger in syslog_loggers: + self.client.delete_syslog_logger(service_id, version_to_delete, logger['name']) def configure_version(self, service_id, configuration, version_number): for domain in configuration.domains: @@ -1138,8 +1209,11 @@ def configure_version(self, service_id, configuration, version_number): for vcl_snippet in configuration.snippets: self.client.create_vcl_snippet(service_id, version_number, vcl_snippet) - for s3 in configuration.s3s: - self.client.create_s3_logger(service_id, version_number, s3) + for logger in configuration.s3s: + self.client.create_s3_logger(service_id, version_number, logger) + + for logger in configuration.syslogs: + self.client.create_syslog_logger(service_id, version_number, logger) if configuration.settings: self.client.create_settings(service_id, version_number, configuration.settings) @@ -1180,6 +1254,7 @@ def __init__(self): response_objects=dict(default=None, required=False, type='list'), vcl_snippets=dict(default=None, required=False, type='list'), s3s=dict(default=None, required=False, type='list'), + syslogs=dict(default=None, required=False, type='list'), settings=dict(default=None, required=False, type='dict'), ), supports_check_mode=False @@ -1209,6 +1284,7 @@ def configuration(self): 'response_objects': self.module.params['response_objects'], 'snippets': self.module.params['vcl_snippets'], 's3s': self.module.params['s3s'], + 'syslogs': self.module.params['syslogs'], 'settings': self.module.params['settings'] }) except FastlyValidationError as err: diff --git a/tests/test_fastly_logging_syslog.py b/tests/test_fastly_logging_syslog.py new file mode 100644 index 0000000..0bec715 --- /dev/null +++ b/tests/test_fastly_logging_syslog.py @@ -0,0 +1,72 @@ +#!/usr/bin/env python +import os +import unittest +import sys + +from test_common import TestCommon + +sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'library')) +from fastly_service import FastlyConfiguration + +class TestFastlyLoggingSyslog(TestCommon): + + @TestCommon.vcr.use_cassette() + def test_fastly_logging_syslog(self): + logging_configuration = self.minimal_configuration.copy() + logging_configuration.update({ + 'syslogs': [{ + 'name': 'test_syslog', + 'address': 'syslog.example.com', + 'port': 514, + 'use_tls': 0, + 'token': '[abc 123]', + 'format': '%h %l %u %t "%r" %>s %b', + }], + }) + + configuration = FastlyConfiguration(logging_configuration) + service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, configuration).service + + svc_conf = service.active_version.configuration + + self.assertEqual(svc_conf.syslogs[0].hostname, 'syslog.example.com'), + self.assertEqual(svc_conf.syslogs[0].response_condition, None), + self.assertEqual(svc_conf.syslogs[0].address, 'syslog.example.com'), + self.assertEqual(svc_conf.syslogs[0].message_type, 'classic'), + self.assertEqual(svc_conf.syslogs[0].name, 'test_syslog'), + self.assertEqual(svc_conf.syslogs[0].port, 514), + self.assertEqual(svc_conf.syslogs[0].use_tls, 0), + self.assertEqual(svc_conf.syslogs[0].token, '[abc 123]'), + self.assertEqual(svc_conf.syslogs[0].format, '%h %l %u %t "%r" %>s %b'), + + self.assertEqual(svc_conf, configuration) + + active_version_number = service.active_version.number + service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, configuration).service + self.assertEqual(service.active_version.number, active_version_number) + + @TestCommon.vcr.use_cassette() + def test_fastly_logging_syslog_remove(self): + logging_configuration = self.minimal_configuration.copy() + logging_configuration.update({ + 'syslogs': [{ + 'name': 'test_syslog', + 'address': 'syslog.example.com', + 'port': 514, + }], + }) + configuration = FastlyConfiguration(logging_configuration) + + # Configure with logging + self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, configuration).service + + # Now apply a configuration without logging + service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, FastlyConfiguration(self.minimal_configuration.copy())).service + svc_conf = service.active_version.configuration + + self.assertEqual(svc_conf.syslogs, []) + + +if __name__ == '__main__': + unittest.main() + From 51e416fba9c92516f346874982e3521ce9de5798 Mon Sep 17 00:00:00 2001 From: Lucas Romero Date: Wed, 30 May 2018 16:32:09 +0200 Subject: [PATCH 3/8] Fix flaky test --- tests/test_fastly_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_fastly_service.py b/tests/test_fastly_service.py index a7d9775..226eacc 100644 --- a/tests/test_fastly_service.py +++ b/tests/test_fastly_service.py @@ -130,11 +130,11 @@ def test_service_does_exist_and_activate_new_version_is_disabled(self): old_configuration = FastlyConfiguration(self.configuration_fixture) new_configuration = FastlyConfiguration(new_configuration) - old_service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, old_configuration, False).service + old_service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, old_configuration, True).service new_service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, new_configuration, False).service - self.assertNotEqual(old_service.latest_version.configuration.response_objects, new_service.latest_version.configuration.response_objects) self.assertNotEqual(old_service.latest_version.number, new_service.latest_version.number) + self.assertNotEqual(old_service.latest_version.configuration.response_objects, new_service.latest_version.configuration.response_objects) self.assertFalse(new_service.latest_version.active) From 136b6a6ba00782f85ac13bcaeff1486352bb0ae2 Mon Sep 17 00:00:00 2001 From: Lucas Romero Date: Wed, 30 May 2018 17:12:35 +0200 Subject: [PATCH 4/8] Update VCR cassettes --- .../TestFastlyCacheSettings_tearDown.yml | 47 +- ...cheSettings_test_fastly_cache_settings.yml | 313 ++-- ...test_fastly_cache_settings_with_action.yml | 308 ++-- ...astly_cache_settings_without_stale_ttl.yml | 379 ++--- .../TestFastlyCondition_tearDown.yml | 46 +- ...yCondition_test_fastly_cache_condition.yml | 329 ++-- ...ondition_test_fastly_request_condition.yml | 278 ++-- .../TestFastlyDirectors_tearDown.yml | 47 +- ..._test_fastly_director_with_one_backend.yml | 393 ++--- .../cassettes/TestFastlyGzip_tearDown.yml | 50 +- .../TestFastlyGzip_test_fastly_gzip.yml | 285 ++-- .../TestFastlyHealthchecks_tearDown.yml | 53 +- ...yHealthchecks_test_fastly_healthchecks.yml | 409 ++--- .../TestFastlyLoggingS3_tearDown.yml | 46 +- .../TestFastlyLoggingS3_test_fastly_s3s.yml | 379 ++--- ...FastlyLoggingS3_test_fastly_s3s_remove.yml | 300 ++-- .../TestFastlyLoggingSyslog_tearDown.yml | 106 ++ ...ggingSyslog_test_fastly_logging_syslog.yml | 716 +++++++++ ...slog_test_fastly_logging_syslog_remove.yml | 1341 +++++++++++++++++ .../TestFastlyRequestSetting_tearDown.yml | 52 +- ...g_test_fastly_request_setting_defaults.yml | 460 +++--- ...y_response_object_content_content_type.yml | 325 ++-- .../TestFastlyResponseObject_tearDown.yml | 47 +- ...y_response_object_content_content_type.yml | 298 ++-- ...t_test_fastly_response_object_defaults.yml | 323 ++-- .../cassettes/TestFastlySettings_tearDown.yml | 52 +- ...estFastlySettings_test_fastly_settings.yml | 324 ++-- .../TestFastlyVclSnippets_tearDown.yml | 55 +- ...tly_vcl_snippets_deliver_stale_content.yml | 408 ++--- tests/fixtures/cassettes/tearDown | 44 +- .../test_fastly_backend_empty_ssl_ca_cert | 278 ++-- .../test_fastly_backend_port_not_required | 266 ++-- .../cassettes/test_fastly_backend_weight_even | 305 ++-- .../test_fastly_domain_comment_not_required | 295 ++-- .../test_fastly_header_action_not_required | 315 ++-- ...t_fastly_header_ignore_if_set_not_required | 33 +- .../test_fastly_header_priority_not_required | 30 +- .../cassettes/test_service_does_exist | 627 ++++---- ...exist_and_activate_new_version_is_disabled | 957 ++++++++++-- ...vice_does_exist_and_configuration_is_equal | 661 +------- ...equal_and_activate_new_version_is_disabled | 82 +- .../cassettes/test_service_does_not_exist | 314 ++-- ...exist_and_activate_new_version_is_disabled | 296 ++-- 43 files changed, 7770 insertions(+), 4902 deletions(-) create mode 100644 tests/fixtures/cassettes/TestFastlyLoggingSyslog_tearDown.yml create mode 100644 tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog.yml create mode 100644 tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog_remove.yml diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml index c75a402..2a420f1 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - 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"}'} + 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"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,73 +14,74 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:29 GMT'] + date: ['Wed, 30 May 2018 15:01:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666389.410069,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692486.161424,VS0,VE182'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/details + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details response: - 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\" + 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\" 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 - 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\" + 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\" 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 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4193'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:29 GMT'] + date: ['Wed, 30 May 2018 15:01:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666390.610238,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692486.401075,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/deactivate + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/deactivate response: - 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}'} + 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}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:30 GMT'] - fastly-ratelimit-remaining: ['673'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:27 GMT'] + fastly-ratelimit-remaining: ['991'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666390.048023,VS0,VE482'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692487.575606,VS0,VE491'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:31 GMT'] - fastly-ratelimit-remaining: ['672'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:27 GMT'] + fastly-ratelimit-remaining: ['990'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666391.598323,VS0,VE469'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692487.125148,VS0,VE144'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml index 3e6faf7..0000b15 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml @@ -6,105 +6,102 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} + 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}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['111'] + content-length: ['455'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:18 GMT'] - status: [404 Not Found] + date: ['Wed, 30 May 2018 15:01:15 GMT'] + status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666378.231585,VS0,VE165'] - status: {code: 404, message: Not Found} + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692475.622439,VS0,VE387'] + status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' + body: null headers: Content-Type: [application/json] - method: POST - uri: https://api.fastly.com/service + method: GET + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"82694e15a19a8bea2ba39779320a9cf59d53eb74","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}],"deleted_at":null,"created_at":"2018-05-30T07:46:18Z","comment":"","updated_at":"2018-05-30T07:46:18Z","id":"4CK5APhrRbVyon7iGN64VZ"}'} + 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}],"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-30T14:42:41Z","active":false,"number":1,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T14:42:41Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['512'] + content-length: ['1107'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:18 GMT'] - fastly-ratelimit-remaining: ['682'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666378.455451,VS0,VE442'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692475.066603,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/details + method: PUT + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/1/clone response: - 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}],"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:18Z","active":false,"number":1,"service_id":"4CK5APhrRbVyon7iGN64VZ","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:46:18Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"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}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1107'] + content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:19 GMT'] + date: ['Wed, 30 May 2018 15:01:15 GMT'] + fastly-ratelimit-remaining: ['999'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666379.960583,VS0,VE494'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692475.278761,VS0,VE479'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/1/clone + method: GET + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/domain response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"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}'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['232'] + content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:20 GMT'] - fastly-ratelimit-remaining: ['681'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666380.512085,VS0,VE533'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692476.816537,VS0,VE408'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/domain + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +111,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:20 GMT'] + date: ['Wed, 30 May 2018 15:01:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666380.103915,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692476.282550,VS0,VE391'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/healthcheck + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +135,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:20 GMT'] + date: ['Wed, 30 May 2018 15:01:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666380.285006,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692477.731243,VS0,VE450'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/condition + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +159,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:20 GMT'] + date: ['Wed, 30 May 2018 15:01:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666381.754534,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692477.238386,VS0,VE424'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/backend + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +183,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:21 GMT'] + date: ['Wed, 30 May 2018 15:01:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666381.945502,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692478.719822,VS0,VE408'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/director + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +207,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:21 GMT'] + date: ['Wed, 30 May 2018 15:01:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666381.132755,VS0,VE387'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692478.192475,VS0,VE405'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/cache_settings + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +231,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:21 GMT'] + date: ['Wed, 30 May 2018 15:01:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666382.580459,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692479.653690,VS0,VE165'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/gzip + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +255,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:22 GMT'] + date: ['Wed, 30 May 2018 15:01:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666382.765805,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692479.875914,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/header + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +279,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:22 GMT'] + date: ['Wed, 30 May 2018 15:01:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666382.235638,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692479.063941,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/request_settings + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +303,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:22 GMT'] + date: ['Wed, 30 May 2018 15:01:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666382.420092,VS0,VE387'] + x-timer: ['S1527692479.247668,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/response_object + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +327,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:23 GMT'] + date: ['Wed, 30 May 2018 15:01:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666383.415518,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692480.715783,VS0,VE391'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/snippet + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +351,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:24 GMT'] + date: ['Wed, 30 May 2018 15:01:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666384.881846,VS0,VE399'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692480.163848,VS0,VE388'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/logging/s3 + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -378,68 +375,68 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:24 GMT'] + date: ['Wed, 30 May 2018 15:01:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666384.337360,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692481.602482,VS0,VE408'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/domain + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4CK5APhrRbVyon7iGN64VZ","version":2,"deleted_at":null,"created_at":"2018-05-30T07:46:24Z","updated_at":"2018-05-30T07:46:24Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5Uofg7tBxthwFe9v68mLyq","version":2,"deleted_at":null,"created_at":"2018-05-30T15:01:21Z","updated_at":"2018-05-30T15:01:21Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:24 GMT'] - fastly-ratelimit-remaining: ['680'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:21 GMT'] + fastly-ratelimit-remaining: ['998'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666385.514657,VS0,VE207'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692481.068886,VS0,VE666'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/backend + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"4CK5APhrRbVyon7iGN64VZ","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:46:25Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:46:25Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5Uofg7tBxthwFe9v68mLyq","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:21Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:21Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:25 GMT'] - fastly-ratelimit-remaining: ['679'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:21 GMT'] + fastly-ratelimit-remaining: ['997'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666385.782060,VS0,VE491'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692482.793010,VS0,VE175'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": null, "stale_ttl": 10, "name": "cache-settings-config-name", @@ -447,54 +444,54 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/cache_settings + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/cache_settings response: - body: {string: !!python/unicode '{"action":null,"stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"4CK5APhrRbVyon7iGN64VZ","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-30T07:46:25Z","updated_at":"2018-05-30T07:46:25Z"}'} + body: {string: !!python/unicode '{"action":null,"stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"5Uofg7tBxthwFe9v68mLyq","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-30T15:01:22Z","updated_at":"2018-05-30T15:01:22Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['240'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:25 GMT'] - fastly-ratelimit-remaining: ['678'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:22 GMT'] + fastly-ratelimit-remaining: ['996'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666385.336019,VS0,VE454'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692482.026096,VS0,VE465'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/header + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"4CK5APhrRbVyon7iGN64VZ","version":"2","updated_at":"2018-05-30T07:46:26Z","deleted_at":null,"created_at":"2018-05-30T07:46:26Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5Uofg7tBxthwFe9v68mLyq","version":"2","updated_at":"2018-05-30T15:01:22Z","deleted_at":null,"created_at":"2018-05-30T15:01:22Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:26 GMT'] - fastly-ratelimit-remaining: ['677'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:22 GMT'] + fastly-ratelimit-remaining: ['995'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666386.854152,VS0,VE479'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692483.548890,VS0,VE148'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -502,87 +499,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/response_object + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"4CK5APhrRbVyon7iGN64VZ","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:46:26Z","updated_at":"2018-05-30T07:46:26Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"5Uofg7tBxthwFe9v68mLyq","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:23Z","updated_at":"2018-05-30T15:01:23Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:26 GMT'] - fastly-ratelimit-remaining: ['676'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:23 GMT'] + fastly-ratelimit-remaining: ['994'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666386.393859,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692483.756067,VS0,VE429'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/settings + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4CK5APhrRbVyon7iGN64VZ"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5Uofg7tBxthwFe9v68mLyq"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:27 GMT'] - fastly-ratelimit-remaining: ['675'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:23 GMT'] + fastly-ratelimit-remaining: ['993'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666387.894797,VS0,VE504'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692483.243438,VS0,VE179'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/activate + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/activate response: - body: {string: !!python/unicode '{"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:26Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"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:23Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:28 GMT'] - fastly-ratelimit-remaining: ['674'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:25 GMT'] + fastly-ratelimit-remaining: ['992'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666387.460137,VS0,VE768'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692483.480252,VS0,VE1572'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/details + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details response: - 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\" + 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\" 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 - 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\" + 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\" 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 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}}}'} headers: @@ -592,14 +589,14 @@ interactions: connection: [keep-alive] content-length: ['4193'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:28 GMT'] + date: ['Wed, 30 May 2018 15:01:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666388.289013,VS0,VE198'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692485.109726,VS0,VE151'] status: {code: 200, message: OK} - request: body: null @@ -608,7 +605,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - 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"}'} + 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"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -616,25 +613,25 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:28 GMT'] + date: ['Wed, 30 May 2018 15:01:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666389.544850,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692485.318831,VS0,VE141'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/details + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details response: - 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\" + 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\" 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 - 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\" + 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\" 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 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}}}'} headers: @@ -644,25 +641,25 @@ interactions: connection: [keep-alive] content-length: ['4193'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:29 GMT'] + date: ['Wed, 30 May 2018 15:01:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666389.020875,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692486.517862,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/details + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details response: - 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\" + 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\" 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 - 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\" + 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\" 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 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}}}'} headers: @@ -672,13 +669,13 @@ interactions: connection: [keep-alive] content-length: ['4193'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:29 GMT'] + date: ['Wed, 30 May 2018 15:01:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666389.203149,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692486.694265,VS0,VE386'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml index 9ad7722..8252db9 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:31 GMT'] + date: ['Wed, 30 May 2018 15:01:27 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666391.136632,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692487.332638,VS0,VE118'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"45fd4839538987bca70ceb2aa8e00a373567b122","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:46:31Z","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} + Ansible Module Test","publish_key":"0edf6ad96bd2dea975b23e0d5bdc7270667c8aa0","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:01:27Z","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:31 GMT'] - fastly-ratelimit-remaining: ['671'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:27 GMT'] + fastly-ratelimit-remaining: ['989'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666391.317956,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692488.510956,VS0,VE441'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:31Z","active":false,"number":1,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:46:31Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:27Z","active":false,"number":1,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:01:27Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:32 GMT'] + date: ['Wed, 30 May 2018 15:01:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666392.533810,VS0,VE487'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692488.011410,VS0,VE163'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/1/clone + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:32 GMT'] - fastly-ratelimit-remaining: ['670'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:28 GMT'] + fastly-ratelimit-remaining: ['988'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666392.079707,VS0,VE522'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692488.235158,VS0,VE490'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:33 GMT'] + date: ['Wed, 30 May 2018 15:01:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666393.659733,VS0,VE387'] + x-timer: ['S1527692489.780771,VS0,VE384'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/healthcheck + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:33 GMT'] + date: ['Wed, 30 May 2018 15:01:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666393.107532,VS0,VE458'] + x-timer: ['S1527692489.213253,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/condition + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:33 GMT'] + date: ['Wed, 30 May 2018 15:01:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666394.626504,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692489.391754,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:33 GMT'] + date: ['Wed, 30 May 2018 15:01:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666394.816673,VS0,VE175'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692490.579285,VS0,VE408'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/director + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:34 GMT'] + date: ['Wed, 30 May 2018 15:01:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666394.050927,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692490.043036,VS0,VE383'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/cache_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:34 GMT'] + date: ['Wed, 30 May 2018 15:01:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666394.236750,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692490.485932,VS0,VE382'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/gzip + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:34 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666395.690095,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692491.920540,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:35 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666395.875556,VS0,VE165'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692491.099935,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/request_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:35 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666395.103192,VS0,VE165'] + x-timer: ['S1527692491.275254,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:35 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666395.326343,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692491.451964,VS0,VE162'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/snippet + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:35 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666396.551143,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692492.668046,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/logging/s3 + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,68 +378,92 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:36 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666396.036816,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692492.849646,VS0,VE127'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:01:32 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692492.033505,VS0,VE395'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":2,"deleted_at":null,"created_at":"2018-05-30T07:46:36Z","updated_at":"2018-05-30T07:46:36Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2Yozki6zPwppbu2BgGnY85","version":2,"deleted_at":null,"created_at":"2018-05-30T15:01:32Z","updated_at":"2018-05-30T15:01:32Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:36 GMT'] - fastly-ratelimit-remaining: ['669'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:32 GMT'] + fastly-ratelimit-remaining: ['987'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666396.225188,VS0,VE477'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692492.478934,VS0,VE220'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:46:37Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:46:37Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:33Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:33Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:37 GMT'] - fastly-ratelimit-remaining: ['668'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:33 GMT'] + fastly-ratelimit-remaining: ['986'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666397.761644,VS0,VE444'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692493.754171,VS0,VE438'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": "pass", "stale_ttl": 10, "name": "cache-settings-config-name", @@ -447,54 +471,54 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/cache_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/cache_settings response: - body: {string: !!python/unicode '{"action":"pass","stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-30T07:46:37Z","updated_at":"2018-05-30T07:46:37Z"}'} + body: {string: !!python/unicode '{"action":"pass","stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"2Yozki6zPwppbu2BgGnY85","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-30T15:01:33Z","updated_at":"2018-05-30T15:01:33Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['242'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:37 GMT'] - fastly-ratelimit-remaining: ['667'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:33 GMT'] + fastly-ratelimit-remaining: ['985'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666397.265975,VS0,VE452'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692493.249399,VS0,VE445'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"2","updated_at":"2018-05-30T07:46:38Z","deleted_at":null,"created_at":"2018-05-30T07:46:38Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":"2","updated_at":"2018-05-30T15:01:34Z","deleted_at":null,"created_at":"2018-05-30T15:01:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:38 GMT'] - fastly-ratelimit-remaining: ['666'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:34 GMT'] + fastly-ratelimit-remaining: ['984'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666398.781456,VS0,VE443'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692494.749980,VS0,VE466'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -502,87 +526,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:46:38Z","updated_at":"2018-05-30T07:46:38Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2Yozki6zPwppbu2BgGnY85","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:34Z","updated_at":"2018-05-30T15:01:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:38 GMT'] - fastly-ratelimit-remaining: ['665'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:34 GMT'] + fastly-ratelimit-remaining: ['983'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666398.287678,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692494.273897,VS0,VE420'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4QTALGNdYy2aTC1pf08MkQ"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:38 GMT'] - fastly-ratelimit-remaining: ['664'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:35 GMT'] + fastly-ratelimit-remaining: ['982'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666399.771730,VS0,VE214'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692495.753619,VS0,VE463'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/activate + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:38Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:34Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:40 GMT'] - fastly-ratelimit-remaining: ['663'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:36 GMT'] + fastly-ratelimit-remaining: ['981'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666399.050252,VS0,VE970'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692495.266733,VS0,VE1320'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:39Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -592,14 +616,14 @@ interactions: connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:40 GMT'] + date: ['Wed, 30 May 2018 15:01:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666400.076084,VS0,VE228'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692497.638442,VS0,VE152'] status: {code: 200, message: OK} - request: body: null @@ -608,32 +632,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:40 GMT'] + date: ['Wed, 30 May 2018 15:01:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666400.367653,VS0,VE183'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692497.849892,VS0,VE144'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:39Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -643,40 +668,41 @@ interactions: connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:40 GMT'] + date: ['Wed, 30 May 2018 15:01:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666401.607431,VS0,VE162'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692497.051168,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:39Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:41 GMT'] + date: ['Wed, 30 May 2018 15:01:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666401.827745,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692497.225824,VS0,VE124'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml index e1b685c..0b46ca2 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml @@ -6,32 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:41 GMT'] + date: ['Wed, 30 May 2018 15:01:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666401.354040,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692497.470527,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:39Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:39Z","active":true,"number":2,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:32Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","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":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -41,48 +42,48 @@ interactions: connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:41 GMT'] + date: ['Wed, 30 May 2018 15:01:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666402.557486,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692498.678836,VS0,VE161'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/2/clone + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:39Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:42 GMT'] - fastly-ratelimit-remaining: ['662'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:38 GMT'] + fastly-ratelimit-remaining: ['980'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666402.738725,VS0,VE273'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692498.901066,VS0,VE485'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","created_at":"2018-05-30T07:46:36Z","comment":"","updated_at":"2018-05-30T07:46:36Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","created_at":"2018-05-30T15:01:32Z","comment":"","updated_at":"2018-05-30T15:01:32Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -90,21 +91,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:42 GMT'] + date: ['Wed, 30 May 2018 15:01:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666402.069674,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692498.441807,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/healthcheck + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:42 GMT'] + date: ['Wed, 30 May 2018 15:01:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666402.292548,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692499.620973,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/condition + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -138,23 +139,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:42 GMT'] + date: ['Wed, 30 May 2018 15:01:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666403.516379,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692499.090899,VS0,VE383'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:46:37Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:46:37Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:01:33Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:01:33Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -162,21 +163,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:42 GMT'] + date: ['Wed, 30 May 2018 15:01:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666403.732459,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692500.530752,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/director + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,23 +187,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:43 GMT'] + date: ['Wed, 30 May 2018 15:01:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666403.912228,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692500.005756,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/cache_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/cache_settings response: - body: {string: !!python/unicode '[{"stale_ttl":"10","version":"3","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","cache_condition":"","created_at":"2018-05-30T07:46:37Z","action":"pass","updated_at":"2018-05-30T07:46:37Z"}]'} + body: {string: !!python/unicode '[{"stale_ttl":"10","version":"3","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:33Z","action":"pass","updated_at":"2018-05-30T15:01:33Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -210,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['246'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:43 GMT'] + date: ['Wed, 30 May 2018 15:01:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666403.377511,VS0,VE436'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692500.473714,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/gzip + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -234,24 +235,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:44 GMT'] + date: ['Wed, 30 May 2018 15:01:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666404.874297,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692501.696396,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"4QTALGNdYy2aTC1pf08MkQ","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:46:38Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:46:38Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"2Yozki6zPwppbu2BgGnY85","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:01:34Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:01:34Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -259,21 +260,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:44 GMT'] + date: ['Wed, 30 May 2018 15:01:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666404.061255,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692501.884155,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/request_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -283,24 +284,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:44 GMT'] + date: ['Wed, 30 May 2018 15:01:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666404.243214,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692501.065049,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","cache_condition":"","created_at":"2018-05-30T07:46:38Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:46:38Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:34Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:01:34Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -308,21 +309,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:45 GMT'] + date: ['Wed, 30 May 2018 15:01:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666405.710812,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692501.243128,VS0,VE158'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/snippet + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -332,21 +333,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:45 GMT'] + date: ['Wed, 30 May 2018 15:01:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666405.158825,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692501.461001,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/logging/s3 + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -356,21 +357,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:45 GMT'] + date: ['Wed, 30 May 2018 15:01:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666405.376336,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692502.644354,VS0,VE131'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:01:41 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692502.834341,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/domain/example8000.com + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -379,23 +404,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:46 GMT'] - fastly-ratelimit-remaining: ['661'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:42 GMT'] + fastly-ratelimit-remaining: ['979'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666406.863345,VS0,VE169'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692502.007633,VS0,VE452'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/backend/localhost + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -404,23 +429,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:46 GMT'] - fastly-ratelimit-remaining: ['660'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:42 GMT'] + fastly-ratelimit-remaining: ['978'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666406.092389,VS0,VE465'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692503.518419,VS0,VE184'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/cache_settings/cache-settings-config-name + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/cache_settings/cache-settings-config-name response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -429,23 +454,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:46 GMT'] - fastly-ratelimit-remaining: ['659'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:42 GMT'] + fastly-ratelimit-remaining: ['977'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666407.620549,VS0,VE229'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692503.757717,VS0,VE212'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -454,23 +479,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:47 GMT'] - fastly-ratelimit-remaining: ['658'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:43 GMT'] + fastly-ratelimit-remaining: ['976'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666407.908514,VS0,VE190'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692503.026151,VS0,VE439'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -479,70 +504,70 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:47 GMT'] - fastly-ratelimit-remaining: ['657'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:44 GMT'] + fastly-ratelimit-remaining: ['975'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666407.158571,VS0,VE212'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692504.532938,VS0,VE503'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":3,"deleted_at":null,"created_at":"2018-05-30T07:46:47Z","updated_at":"2018-05-30T07:46:47Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2Yozki6zPwppbu2BgGnY85","version":3,"deleted_at":null,"created_at":"2018-05-30T15:01:44Z","updated_at":"2018-05-30T15:01:44Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:47 GMT'] - fastly-ratelimit-remaining: ['656'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:44 GMT'] + fastly-ratelimit-remaining: ['974'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666407.428756,VS0,VE203'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692504.092414,VS0,VE473'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:46:47Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:46:47Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:44Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:44Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:47 GMT'] - fastly-ratelimit-remaining: ['655'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:45 GMT'] + fastly-ratelimit-remaining: ['973'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666408.694472,VS0,VE168'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692505.623280,VS0,VE430'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": null, "stale_ttl": 0, "name": "cache-settings-config-name", @@ -550,54 +575,54 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/cache_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/cache_settings response: - body: {string: !!python/unicode '{"action":null,"stale_ttl":0,"name":"cache-settings-config-name","cache_condition":"","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-05-30T07:46:48Z","updated_at":"2018-05-30T07:46:48Z"}'} + body: {string: !!python/unicode '{"action":null,"stale_ttl":0,"name":"cache-settings-config-name","cache_condition":"","service_id":"2Yozki6zPwppbu2BgGnY85","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-05-30T15:01:45Z","updated_at":"2018-05-30T15:01:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['239'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:48 GMT'] - fastly-ratelimit-remaining: ['654'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:45 GMT'] + fastly-ratelimit-remaining: ['972'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666408.921652,VS0,VE453'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692505.115326,VS0,VE413'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"3","updated_at":"2018-05-30T07:46:48Z","deleted_at":null,"created_at":"2018-05-30T07:46:48Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":"3","updated_at":"2018-05-30T15:01:45Z","deleted_at":null,"created_at":"2018-05-30T15:01:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:48 GMT'] - fastly-ratelimit-remaining: ['653'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:46 GMT'] + fastly-ratelimit-remaining: ['971'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666408.437452,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692506.586420,VS0,VE454'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -605,87 +630,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:46:48Z","updated_at":"2018-05-30T07:46:48Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2Yozki6zPwppbu2BgGnY85","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:46Z","updated_at":"2018-05-30T15:01:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:48 GMT'] - fastly-ratelimit-remaining: ['652'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:46 GMT'] + fastly-ratelimit-remaining: ['970'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666409.655426,VS0,VE199'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692506.099715,VS0,VE427'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"4QTALGNdYy2aTC1pf08MkQ"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:49 GMT'] - fastly-ratelimit-remaining: ['651'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:47 GMT'] + fastly-ratelimit-remaining: ['969'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666409.917546,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692507.586797,VS0,VE470'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/activate + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:48Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:46Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:49 GMT'] - fastly-ratelimit-remaining: ['650'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:48 GMT'] + fastly-ratelimit-remaining: ['968'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666409.115356,VS0,VE584'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692507.115266,VS0,VE933'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","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":"0","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\" 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 - 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:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" + 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:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","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":"0","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\" 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 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}}}'} headers: @@ -695,14 +720,14 @@ interactions: connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:49 GMT'] + date: ['Wed, 30 May 2018 15:01:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666410.758220,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692508.106112,VS0,VE154'] status: {code: 200, message: OK} - request: body: null @@ -711,33 +736,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:50 GMT'] + date: ['Wed, 30 May 2018 15:01:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666410.966261,VS0,VE442'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692508.318830,VS0,VE180'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","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":"0","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\" 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 - 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:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" + 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:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","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":"0","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\" 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 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}}}'} headers: @@ -747,41 +771,40 @@ interactions: connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:50 GMT'] + date: ['Wed, 30 May 2018 15:01:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666410.467469,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692509.558972,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","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":"0","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\" 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 - 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:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" + 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:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","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":"0","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\" 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 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:50 GMT'] + date: ['Wed, 30 May 2018 15:01:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666411.653213,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692509.744621,VS0,VE164'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml b/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml index a82d07b..a10f75e 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:09Z","active":true,"number":3,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:01Z","comment":""}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","comment":""}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,26 +14,26 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:10 GMT'] + date: ['Wed, 30 May 2018 15:04:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666550.392202,VS0,VE146'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692647.451861,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:49:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:09Z","active":true,"number":3,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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:49:09Z","active":true,"number":3,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url + 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:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} @@ -44,46 +44,46 @@ interactions: connection: [keep-alive] content-length: ['4463'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:10 GMT'] + date: ['Wed, 30 May 2018 15:04:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666551.599558,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692648.652508,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/deactivate + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:49:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:11 GMT'] - fastly-ratelimit-remaining: ['502'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:08 GMT'] + fastly-ratelimit-remaining: ['820'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666551.778256,VS0,VE502'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692648.830561,VS0,VE504'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4 response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -92,15 +92,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:11 GMT'] - fastly-ratelimit-remaining: ['501'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:08 GMT'] + fastly-ratelimit-remaining: ['819'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666551.342172,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692648.393156,VS0,VE425'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml index ca30e8d..c8369e2 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","comment":""}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":""}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:00 GMT'] + date: ['Wed, 30 May 2018 15:03:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666540.845868,VS0,VE190'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692638.540204,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:11Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -41,48 +41,48 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:00 GMT'] + date: ['Wed, 30 May 2018 15:03:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666540.094893,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692638.744660,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/clone + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:11Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:01 GMT'] - fastly-ratelimit-remaining: ['514'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:58 GMT'] + fastly-ratelimit-remaining: ['832'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666541.534199,VS0,VE552'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692638.961375,VS0,VE479'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/domain + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","created_at":"2018-05-30T07:47:09Z","comment":"","updated_at":"2018-05-30T07:47:09Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","created_at":"2018-05-30T15:02:06Z","comment":"","updated_at":"2018-05-30T15:02:06Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -90,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:01 GMT'] + date: ['Wed, 30 May 2018 15:03:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666541.147259,VS0,VE457'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692638.495906,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/healthcheck + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:02 GMT'] + date: ['Wed, 30 May 2018 15:03:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666542.669998,VS0,VE419'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692639.685563,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/condition + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -138,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:02 GMT'] + date: ['Wed, 30 May 2018 15:03:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666542.149969,VS0,VE208'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692639.856385,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/backend + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:47:09Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:09Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:06Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:06Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:02 GMT'] + date: ['Wed, 30 May 2018 15:03:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666542.419254,VS0,VE146'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692639.043051,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/director + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:02 GMT'] + date: ['Wed, 30 May 2018 15:03:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666543.626299,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692639.241945,VS0,VE430'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/cache_settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:02 GMT'] + date: ['Wed, 30 May 2018 15:03:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666543.809508,VS0,VE135'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692640.730850,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/gzip + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -234,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:03 GMT'] + date: ['Wed, 30 May 2018 15:04:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666543.004143,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692640.914850,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/header + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"51QLfHG1zvS1YZjizF8nPK","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:47:10Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:47:10Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"3C4FPwHsDEzBLF43Z63Ql4","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:07Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:07Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -259,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:03 GMT'] + date: ['Wed, 30 May 2018 15:04:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666543.481309,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692640.093270,VS0,VE402'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/request_settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -283,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:03 GMT'] + date: ['Wed, 30 May 2018 15:04:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666544.659682,VS0,VE132'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692641.552824,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/response_object + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","cache_condition":"","created_at":"2018-05-30T07:47:10Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:47:10Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","cache_condition":"","created_at":"2018-05-30T15:02:08Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:08Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -308,21 +308,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:03 GMT'] + date: ['Wed, 30 May 2018 15:04:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666544.854538,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692641.780807,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/snippet + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -332,21 +332,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:04 GMT'] + date: ['Wed, 30 May 2018 15:04:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666544.054004,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692641.968692,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/logging/s3 + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -356,21 +356,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:04 GMT'] + date: ['Wed, 30 May 2018 15:04:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666544.238698,VS0,VE390'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692641.157558,VS0,VE127'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04:01 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692641.342576,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/domain/example8000.com + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -379,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:05 GMT'] - fastly-ratelimit-remaining: ['513'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:02 GMT'] + fastly-ratelimit-remaining: ['831'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666545.688837,VS0,VE467'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692642.810516,VS0,VE191'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/backend/localhost + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -404,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:05 GMT'] - fastly-ratelimit-remaining: ['512'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:02 GMT'] + fastly-ratelimit-remaining: ['830'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666545.216515,VS0,VE463'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692642.059797,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -429,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:06 GMT'] - fastly-ratelimit-remaining: ['511'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:03 GMT'] + fastly-ratelimit-remaining: ['829'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666546.741298,VS0,VE463'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692643.591248,VS0,VE488'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -454,41 +478,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:06 GMT'] - fastly-ratelimit-remaining: ['510'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:03 GMT'] + fastly-ratelimit-remaining: ['828'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666546.266858,VS0,VE429'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692643.138580,VS0,VE182'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/domain + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"51QLfHG1zvS1YZjizF8nPK","version":3,"deleted_at":null,"created_at":"2018-05-30T07:49:07Z","updated_at":"2018-05-30T07:49:07Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:03Z","updated_at":"2018-05-30T15:04:03Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:07 GMT'] - fastly-ratelimit-remaining: ['509'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:03 GMT'] + fastly-ratelimit-remaining: ['827'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666547.754893,VS0,VE467'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692643.381125,VS0,VE528'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "priority": "0", "type": "CACHE", "name": @@ -496,84 +520,85 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/condition + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/condition response: body: {string: !!python/unicode '{"comment":"","priority":"0","type":"CACHE","name":"condition-name","statement":"req.url - ~ \"^/some_asset.js\"","service_id":"51QLfHG1zvS1YZjizF8nPK","version":"3","deleted_at":null,"created_at":"2018-05-30T07:49:07Z","updated_at":"2018-05-30T07:49:07Z"}'} + ~ \"^/some_asset.js\"","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"3","deleted_at":null,"created_at":"2018-05-30T15:04:04Z","updated_at":"2018-05-30T15:04:04Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['254'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:07 GMT'] - fastly-ratelimit-remaining: ['508'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:04 GMT'] + fastly-ratelimit-remaining: ['826'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666547.282645,VS0,VE401'] + x-timer: ['S1527692644.963500,VS0,VE138'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/backend + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:49:08Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:49:08Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:04Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:04Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:08 GMT'] - fastly-ratelimit-remaining: ['507'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:04 GMT'] + fastly-ratelimit-remaining: ['825'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666548.745694,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692644.161311,VS0,VE459'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set cache control header", "src": "\"public, max-age=86400\"", - "dst": "http.Cache-Control", "substitution": "", "priority": "100", "cache_condition": - "condition-name", "action": "set", "type": "cache", "response_condition": null}' + "dst": "http.Cache-Control", "cache_condition": "condition-name", "priority": + "100", "substitution": "", "action": "set", "type": "cache", "response_condition": + null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/header + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - cache control header","src":"\"public, max-age=86400\"","dst":"http.Cache-Control","substitution":"","priority":"100","cache_condition":"condition-name","action":"set","type":"cache","response_condition":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","version":"3","updated_at":"2018-05-30T07:49:08Z","deleted_at":null,"created_at":"2018-05-30T07:49:08Z"}'} + cache control header","src":"\"public, max-age=86400\"","dst":"http.Cache-Control","cache_condition":"condition-name","priority":"100","substitution":"","action":"set","type":"cache","response_condition":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"3","updated_at":"2018-05-30T15:04:04Z","deleted_at":null,"created_at":"2018-05-30T15:04:04Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['420'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:08 GMT'] - fastly-ratelimit-remaining: ['506'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:04 GMT'] + fastly-ratelimit-remaining: ['824'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666548.258443,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692645.684502,VS0,VE162'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -581,88 +606,88 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/response_object + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"51QLfHG1zvS1YZjizF8nPK","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:49:08Z","updated_at":"2018-05-30T07:49:08Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:05Z","updated_at":"2018-05-30T15:04:05Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:08 GMT'] - fastly-ratelimit-remaining: ['505'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:05 GMT'] + fastly-ratelimit-remaining: ['823'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666548.484518,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692645.904663,VS0,VE418'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"51QLfHG1zvS1YZjizF8nPK"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:09 GMT'] - fastly-ratelimit-remaining: ['504'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:05 GMT'] + fastly-ratelimit-remaining: ['822'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666549.707166,VS0,VE469'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692645.374042,VS0,VE475'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/3/activate + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:49:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:08Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:05Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:09 GMT'] - fastly-ratelimit-remaining: ['503'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:06 GMT'] + fastly-ratelimit-remaining: ['821'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666549.237057,VS0,VE580'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692646.901089,VS0,VE962'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:49:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:09Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:09Z","active":true,"number":3,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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:49:09Z","active":true,"number":3,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:01Z","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":[],"conditions":[{"priority":"0","statement":"req.url + 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:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} @@ -673,13 +698,13 @@ interactions: connection: [keep-alive] content-length: ['4463'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:10 GMT'] + date: ['Wed, 30 May 2018 15:04:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666550.877588,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692647.920039,VS0,VE441'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml index ac4644f..fa9a604 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:11 GMT'] + date: ['Wed, 30 May 2018 15:04:09 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666552.554236,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692649.887070,VS0,VE121'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"380b6b819b4c8954d855cccbfab3e9e4fb1f2e2f","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:49:11Z","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw"}'} + Ansible Module Test","publish_key":"74249aea9df72835bd28b4b803a11e9137d1d5e4","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:04:09Z","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:11 GMT'] - fastly-ratelimit-remaining: ['500'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:09 GMT'] + fastly-ratelimit-remaining: ['818'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666552.739827,VS0,VE149'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692649.065077,VS0,VE434'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:11Z","active":false,"number":1,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:49:11Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:09Z","active":false,"number":1,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:04:09Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:12 GMT'] + date: ['Wed, 30 May 2018 15:04:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666552.949402,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692650.556413,VS0,VE156'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/1/clone + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:12 GMT'] - fastly-ratelimit-remaining: ['499'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:10 GMT'] + fastly-ratelimit-remaining: ['817'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666552.168614,VS0,VE537'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692650.765400,VS0,VE484'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/domain + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:12 GMT'] + date: ['Wed, 30 May 2018 15:04:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666553.765747,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692650.306067,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/healthcheck + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:13 GMT'] + date: ['Wed, 30 May 2018 15:04:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666553.950321,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692650.483855,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/condition + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:13 GMT'] + date: ['Wed, 30 May 2018 15:04:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666553.137400,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692651.657057,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/backend + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:13 GMT'] + date: ['Wed, 30 May 2018 15:04:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666554.581387,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692651.835050,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/director + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:14 GMT'] + date: ['Wed, 30 May 2018 15:04:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666554.035293,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692651.305745,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/cache_settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:14 GMT'] + date: ['Wed, 30 May 2018 15:04:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666554.214646,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692652.752603,VS0,VE133'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/gzip + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04:12 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692652.941967,VS0,VE405'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/gzip + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:14 GMT'] + date: ['Wed, 30 May 2018 15:04:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666555.686111,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692652.401241,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/header + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:14 GMT'] + date: ['Wed, 30 May 2018 15:04:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666555.871417,VS0,VE119'] + x-timer: ['S1527692653.574692,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/request_settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:15 GMT'] + date: ['Wed, 30 May 2018 15:04:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666555.052230,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692653.040233,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/response_object + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:15 GMT'] + date: ['Wed, 30 May 2018 15:04:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666555.238393,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692653.224468,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/snippet + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +378,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:15 GMT'] + date: ['Wed, 30 May 2018 15:04:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666555.426524,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692653.410014,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/logging/s3 + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -378,39 +402,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:15 GMT'] + date: ['Wed, 30 May 2018 15:04:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666556.607802,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692654.583405,VS0,VE128'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/domain + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":2,"deleted_at":null,"created_at":"2018-05-30T07:49:16Z","updated_at":"2018-05-30T07:49:16Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5UWEX3jgaUsS3pS44aBblN","version":2,"deleted_at":null,"created_at":"2018-05-30T15:04:13Z","updated_at":"2018-05-30T15:04:13Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:16 GMT'] - fastly-ratelimit-remaining: ['498'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:13 GMT'] + fastly-ratelimit-remaining: ['816'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666556.791487,VS0,VE485'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692654.768374,VS0,VE197'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "priority": "0", "type": "REQUEST", "name": @@ -418,84 +442,84 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/condition + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/condition response: body: {string: !!python/unicode '{"comment":"","priority":"0","type":"REQUEST","name":"condition-name","statement":"req.url - ~ \"^/robots.txt\"","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":"2","deleted_at":null,"created_at":"2018-05-30T07:49:16Z","updated_at":"2018-05-30T07:49:16Z"}'} + ~ \"^/robots.txt\"","service_id":"5UWEX3jgaUsS3pS44aBblN","version":"2","deleted_at":null,"created_at":"2018-05-30T15:04:14Z","updated_at":"2018-05-30T15:04:14Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['253'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:16 GMT'] - fastly-ratelimit-remaining: ['497'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:14 GMT'] + fastly-ratelimit-remaining: ['815'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666556.337188,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692654.025658,VS0,VE129'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/backend + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:49:16Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:49:16Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:14Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:14Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:17 GMT'] - fastly-ratelimit-remaining: ['496'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:14 GMT'] + fastly-ratelimit-remaining: ['814'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666557.822283,VS0,VE205'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692654.215024,VS0,VE459'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/header + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","version":"2","updated_at":"2018-05-30T07:49:17Z","deleted_at":null,"created_at":"2018-05-30T07:49:17Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":"2","updated_at":"2018-05-30T15:04:15Z","deleted_at":null,"created_at":"2018-05-30T15:04:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:17 GMT'] - fastly-ratelimit-remaining: ['495'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:15 GMT'] + fastly-ratelimit-remaining: ['813'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666557.086806,VS0,VE154'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692655.734768,VS0,VE452'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -503,88 +527,88 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/response_object + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:49:17Z","updated_at":"2018-05-30T07:49:17Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"5UWEX3jgaUsS3pS44aBblN","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:15Z","updated_at":"2018-05-30T15:04:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:17 GMT'] - fastly-ratelimit-remaining: ['494'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:15 GMT'] + fastly-ratelimit-remaining: ['812'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666557.301730,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692655.246401,VS0,VE152'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7KtO62yYy4HjbBx0I6N0fw"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:17 GMT'] - fastly-ratelimit-remaining: ['493'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:15 GMT'] + fastly-ratelimit-remaining: ['811'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666558.780411,VS0,VE183'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692655.458136,VS0,VE204'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/activate + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:17Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:15Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:18 GMT'] - fastly-ratelimit-remaining: ['492'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:16 GMT'] + fastly-ratelimit-remaining: ['810'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666558.024709,VS0,VE660'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692656.724663,VS0,VE659'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:18Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:18Z","active":true,"number":2,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:12Z","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":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:16Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:49:18Z","active":true,"number":2,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:12Z","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":[],"conditions":[{"priority":"0","statement":"req.url + 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:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} @@ -595,13 +619,13 @@ interactions: connection: [keep-alive] content-length: ['4215'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:18 GMT'] + date: ['Wed, 30 May 2018 15:04:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666559.745058,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692656.441411,VS0,VE422'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml b/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml index a8fb197..482ac14 100644 --- a/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml @@ -6,80 +6,81 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:19Z","comment":""}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":""}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:29 GMT'] + date: ['Wed, 30 May 2018 15:04:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666570.753928,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692667.140800,VS0,VE154'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:30 GMT'] + date: ['Wed, 30 May 2018 15:04:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666570.968503,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692667.357441,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/deactivate + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:30 GMT'] - fastly-ratelimit-remaining: ['477'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:27 GMT'] + fastly-ratelimit-remaining: ['795'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666570.155458,VS0,VE530'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692668.532096,VS0,VE206'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -88,15 +89,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:30 GMT'] - fastly-ratelimit-remaining: ['476'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:27 GMT'] + fastly-ratelimit-remaining: ['794'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666571.748782,VS0,VE135'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692668.795752,VS0,VE146'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml b/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml index a800476..1f954cf 100644 --- a/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml +++ b/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:18Z","active":true,"number":2,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:12Z","comment":""}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","comment":""}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,26 +14,26 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:19 GMT'] + date: ['Wed, 30 May 2018 15:04:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666559.016549,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692657.969340,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:18Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:18Z","active":true,"number":2,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:12Z","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":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:16Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:49:18Z","active":true,"number":2,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:12Z","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":[],"conditions":[{"priority":"0","statement":"req.url + 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:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","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":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} @@ -44,48 +44,48 @@ interactions: connection: [keep-alive] content-length: ['4215'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:19 GMT'] + date: ['Wed, 30 May 2018 15:04:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666559.224926,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692657.179226,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/2/clone + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:18Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:16Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:19 GMT'] - fastly-ratelimit-remaining: ['491'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:17 GMT'] + fastly-ratelimit-remaining: ['809'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666559.411505,VS0,VE478'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692657.351014,VS0,VE213'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/domain + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","created_at":"2018-05-30T07:49:16Z","comment":"","updated_at":"2018-05-30T07:49:16Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","created_at":"2018-05-30T15:04:13Z","comment":"","updated_at":"2018-05-30T15:04:13Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -93,21 +93,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:20 GMT'] + date: ['Wed, 30 May 2018 15:04:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666560.950850,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692658.623341,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/healthcheck + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -117,24 +117,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:20 GMT'] + date: ['Wed, 30 May 2018 15:04:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666560.132496,VS0,VE132'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692658.067959,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/condition + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/condition response: - body: {string: !!python/unicode '[{"priority":"0","version":"3","name":"condition-name","deleted_at":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","created_at":"2018-05-30T07:49:16Z","comment":"","statement":"req.url - ~ \"^/robots.txt\"","updated_at":"2018-05-30T07:49:16Z","type":"REQUEST"}]'} + body: {string: !!python/unicode '[{"priority":"0","version":"3","name":"condition-name","deleted_at":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","created_at":"2018-05-30T15:04:14Z","comment":"","statement":"req.url + ~ \"^/robots.txt\"","updated_at":"2018-05-30T15:04:14Z","type":"REQUEST"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -142,23 +142,23 @@ interactions: connection: [keep-alive] content-length: ['255'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:20 GMT'] + date: ['Wed, 30 May 2018 15:04:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666560.325267,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692658.250060,VS0,VE137'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/backend + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:49:16Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:49:16Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:04:14Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:04:14Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -166,21 +166,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:20 GMT'] + date: ['Wed, 30 May 2018 15:04:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666561.536725,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692658.445136,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/director + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -190,21 +190,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:21 GMT'] + date: ['Wed, 30 May 2018 15:04:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666561.721507,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692659.634094,VS0,VE458'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/cache_settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -214,21 +214,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:21 GMT'] + date: ['Wed, 30 May 2018 15:04:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666561.163506,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692659.151944,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/gzip + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -238,24 +238,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:21 GMT'] + date: ['Wed, 30 May 2018 15:04:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666561.343247,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692659.375671,VS0,VE405'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/header + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"7KtO62yYy4HjbBx0I6N0fw","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:49:17Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:49:17Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"5UWEX3jgaUsS3pS44aBblN","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:04:15Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:04:15Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -263,21 +263,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:22 GMT'] + date: ['Wed, 30 May 2018 15:04:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666562.790548,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692660.837286,VS0,VE431'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/request_settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -287,24 +287,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:22 GMT'] + date: ['Wed, 30 May 2018 15:04:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666562.237756,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692660.327635,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/response_object + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","cache_condition":"","created_at":"2018-05-30T07:49:17Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:49:17Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","cache_condition":"","created_at":"2018-05-30T15:04:15Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:04:15Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -312,21 +312,45 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:22 GMT'] + date: ['Wed, 30 May 2018 15:04:20 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692661.797949,VS0,VE166'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666562.423426,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692661.017115,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/snippet + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -336,21 +360,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:22 GMT'] + date: ['Wed, 30 May 2018 15:04:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666563.611923,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692661.197126,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/logging/s3 + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -360,21 +384,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:22 GMT'] + date: ['Wed, 30 May 2018 15:04:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666563.799874,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692661.391862,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/domain/example8000.com + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -383,23 +407,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:23 GMT'] - fastly-ratelimit-remaining: ['490'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:21 GMT'] + fastly-ratelimit-remaining: ['808'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666563.981184,VS0,VE457'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692662.576439,VS0,VE161'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/condition/condition-name + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/condition/condition-name response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -408,23 +432,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:23 GMT'] - fastly-ratelimit-remaining: ['489'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:22 GMT'] + fastly-ratelimit-remaining: ['807'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666563.499809,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692662.795771,VS0,VE435'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/backend/localhost + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -433,23 +457,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:24 GMT'] - fastly-ratelimit-remaining: ['488'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:22 GMT'] + fastly-ratelimit-remaining: ['806'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666564.003060,VS0,VE459'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692662.291247,VS0,VE182'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -458,23 +482,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:24 GMT'] - fastly-ratelimit-remaining: ['487'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:22 GMT'] + fastly-ratelimit-remaining: ['805'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666565.520622,VS0,VE464'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692663.535030,VS0,VE217'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -483,150 +507,151 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:25 GMT'] - fastly-ratelimit-remaining: ['486'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:23 GMT'] + fastly-ratelimit-remaining: ['804'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666565.046359,VS0,VE478'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692663.813262,VS0,VE441'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/domain + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":3,"deleted_at":null,"created_at":"2018-05-30T07:49:25Z","updated_at":"2018-05-30T07:49:25Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:23Z","updated_at":"2018-05-30T15:04:23Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:25 GMT'] - fastly-ratelimit-remaining: ['485'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:23 GMT'] + fastly-ratelimit-remaining: ['803'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666566.586303,VS0,VE234'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692663.314021,VS0,VE519'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/backend + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:49:26Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:49:26Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:23Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:23Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:26 GMT'] - fastly-ratelimit-remaining: ['484'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:24 GMT'] + fastly-ratelimit-remaining: ['802'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666566.880889,VS0,VE458'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692664.892308,VS0,VE193'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "retries": 5, "capacity": 100, "shield": - null, "backends": ["localhost"], "quorum": 75, "type": 4, "name": "client_director"}' + null, "name": "client_director", "backends": ["localhost"], "type": 4, "quorum": + 75}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/director + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/director response: - body: {string: !!python/unicode '{"comment":"","retries":5,"capacity":100,"shield":null,"backends":[],"quorum":75,"type":4,"name":"client_director","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":3,"deleted_at":null,"created_at":"2018-05-30T07:49:26Z","updated_at":"2018-05-30T07:49:26Z"}'} + body: {string: !!python/unicode '{"comment":"","retries":5,"capacity":100,"shield":null,"name":"client_director","backends":[],"type":4,"quorum":75,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:24Z","updated_at":"2018-05-30T15:04:24Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['255'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:26 GMT'] - fastly-ratelimit-remaining: ['483'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:24 GMT'] + fastly-ratelimit-remaining: ['801'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666566.400923,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692664.146778,VS0,VE158'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/director/client_director/backend/localhost + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/director/client_director/backend/localhost response: - body: {string: !!python/unicode '{"service_id":"7KtO62yYy4HjbBx0I6N0fw","version":3,"director_name":"client_director","backend_name":"localhost","created_at":"2018-05-30T07:49:26Z","deleted_at":null,"updated_at":"2018-05-30T07:49:26Z"}'} + body: {string: !!python/unicode '{"service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"director_name":"client_director","backend_name":"localhost","created_at":"2018-05-30T15:04:24Z","deleted_at":null,"updated_at":"2018-05-30T15:04:24Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['202'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:27 GMT'] - fastly-ratelimit-remaining: ['482'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:24 GMT'] + fastly-ratelimit-remaining: ['800'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666567.612732,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692664.365814,VS0,VE435'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/header + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7KtO62yYy4HjbBx0I6N0fw","version":"3","updated_at":"2018-05-30T07:49:27Z","deleted_at":null,"created_at":"2018-05-30T07:49:27Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":"3","updated_at":"2018-05-30T15:04:24Z","deleted_at":null,"created_at":"2018-05-30T15:04:24Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:27 GMT'] - fastly-ratelimit-remaining: ['481'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:25 GMT'] + fastly-ratelimit-remaining: ['799'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666567.090341,VS0,VE202'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692665.862890,VS0,VE201'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -634,87 +659,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/response_object + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"7KtO62yYy4HjbBx0I6N0fw","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:49:27Z","updated_at":"2018-05-30T07:49:27Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"5UWEX3jgaUsS3pS44aBblN","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:25Z","updated_at":"2018-05-30T15:04:25Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:27 GMT'] - fastly-ratelimit-remaining: ['480'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:25 GMT'] + fastly-ratelimit-remaining: ['798'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666567.353345,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692665.120248,VS0,VE171'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"7KtO62yYy4HjbBx0I6N0fw"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:28 GMT'] - fastly-ratelimit-remaining: ['479'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:25 GMT'] + fastly-ratelimit-remaining: ['797'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666568.860925,VS0,VE185'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692665.353831,VS0,VE229'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/version/3/activate + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:27Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:25Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:28 GMT'] - fastly-ratelimit-remaining: ['478'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:26 GMT'] + fastly-ratelimit-remaining: ['796'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666568.106336,VS0,VE725'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692666.640743,VS0,VE599'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -724,14 +749,14 @@ interactions: connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:29 GMT'] + date: ['Wed, 30 May 2018 15:04:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666569.891676,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692666.298915,VS0,VE196'] status: {code: 200, message: OK} - request: body: null @@ -740,7 +765,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:19Z","comment":""}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":""}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -748,25 +773,25 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:29 GMT'] + date: ['Wed, 30 May 2018 15:04:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666569.109249,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692667.558255,VS0,VE151'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -776,25 +801,25 @@ interactions: connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:29 GMT'] + date: ['Wed, 30 May 2018 15:04:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666569.328995,VS0,VE116'] + x-timer: ['S1527692667.764566,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7KtO62yYy4HjbBx0I6N0fw/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7KtO62yYy4HjbBx0I6N0fw","staging":false,"created_at":"2018-05-30T07:49:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:28Z","deployed":false}],"created_at":"2018-05-30T07:49:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:11Z","id":"7KtO62yYy4HjbBx0I6N0fw","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:49:28Z","active":true,"number":3,"service_id":"7KtO62yYy4HjbBx0I6N0fw","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49: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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T07:49:26Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T07:49:26Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","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":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -804,13 +829,13 @@ interactions: connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:29 GMT'] + date: ['Wed, 30 May 2018 15:04:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666570.506682,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692667.944719,VS0,VE117'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml b/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml index a1f5608..bf0f0a6 100644 --- a/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:50Z","active":true,"number":2,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","comment":""}],"created_at":"2018-05-30T07:50:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:43Z","id":"1CZ9WdFq9PufhCLLXC9Qu0"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":""}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,28 +14,28 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:50 GMT'] + date: ['Wed, 30 May 2018 15:06:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666650.435653,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692784.659291,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/details + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:50Z","deployed":false}],"created_at":"2018-05-30T07:50:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:43Z","id":"1CZ9WdFq9PufhCLLXC9Qu0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:50Z","active":true,"number":2,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T07:50:48Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T07:50:48Z","content_types":"text/html + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:23Z","deployed":false}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:50:50Z","active":true,"number":2,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T07:50:48Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T07:50:48Z","content_types":"text/html + 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:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} @@ -46,46 +46,46 @@ interactions: connection: [keep-alive] content-length: ['4443'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:50 GMT'] + date: ['Wed, 30 May 2018 15:06:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666651.633984,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692784.856965,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/deactivate + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:50Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:23Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:51 GMT'] - fastly-ratelimit-remaining: ['391'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:24 GMT'] + fastly-ratelimit-remaining: ['674'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666651.822195,VS0,VE491'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692784.039456,VS0,VE208'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0 + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -94,15 +94,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:51 GMT'] - fastly-ratelimit-remaining: ['390'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:24 GMT'] + fastly-ratelimit-remaining: ['673'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666651.373080,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692784.298347,VS0,VE176'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml b/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml index bae6df0..64cbb86 100644 --- a/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml +++ b/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml @@ -10,18 +10,19 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:42 GMT'] + date: ['Wed, 30 May 2018 15:06:15 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666643.624746,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692775.219383,VS0,VE369'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -31,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"111c908dd1f09fc9cf460f61a2e486fcade643c1","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","comment":"","updated_at":"2018-05-30T07:50:43Z","id":"1CZ9WdFq9PufhCLLXC9Qu0"}'} + Ansible Module Test","publish_key":"a90b52bba26e24af7fcf8627853ff235c726d2bd","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:43 GMT'] - fastly-ratelimit-remaining: ['400'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:16 GMT'] + fastly-ratelimit-remaining: ['683'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666643.802598,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692776.645068,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/details + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false}],"created_at":"2018-05-30T07:50:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:43Z","id":"1CZ9WdFq9PufhCLLXC9Qu0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:43Z","active":false,"number":1,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:16Z","active":false,"number":1,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -64,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:43 GMT'] + date: ['Wed, 30 May 2018 15:06:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666643.313336,VS0,VE494'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692776.176418,VS0,VE265'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/1/clone + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:44 GMT'] - fastly-ratelimit-remaining: ['399'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:17 GMT'] + fastly-ratelimit-remaining: ['682'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666644.868904,VS0,VE218'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692776.497745,VS0,VE518'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/domain + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:44 GMT'] + date: ['Wed, 30 May 2018 15:06:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666644.145809,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692777.071257,VS0,VE393'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/healthcheck + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -137,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:44 GMT'] + date: ['Wed, 30 May 2018 15:06:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666644.322926,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692778.522078,VS0,VE142'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/condition + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -161,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:44 GMT'] + date: ['Wed, 30 May 2018 15:06:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666645.500012,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692778.720844,VS0,VE464'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/backend + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:44 GMT'] + date: ['Wed, 30 May 2018 15:06:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666645.686020,VS0,VE138'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692778.240967,VS0,VE133'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/director + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:45 GMT'] + date: ['Wed, 30 May 2018 15:06:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666645.883864,VS0,VE389'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692778.429708,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/cache_settings + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -233,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:45 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666645.336152,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692779.596253,VS0,VE406'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/gzip + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -257,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:45 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666646.535010,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692779.051940,VS0,VE170'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/header + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -281,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:45 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666646.715552,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692779.279808,VS0,VE173'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/request_settings + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -305,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:46 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666646.899587,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692780.511152,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/response_object + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -329,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:46 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666646.120548,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692780.684321,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/snippet + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -353,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:46 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666646.303978,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692780.859498,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/logging/s3 + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -377,68 +378,92 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:46 GMT'] + date: ['Wed, 30 May 2018 15:06:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666647.744865,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692780.039945,VS0,VE125'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:06:20 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692780.219974,VS0,VE121'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/domain + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"1CZ9WdFq9PufhCLLXC9Qu0","version":2,"deleted_at":null,"created_at":"2018-05-30T07:50:47Z","updated_at":"2018-05-30T07:50:47Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7mtnIbJIoFC6KgteIPornU","version":2,"deleted_at":null,"created_at":"2018-05-30T15:06:20Z","updated_at":"2018-05-30T15:06:20Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:47 GMT'] - fastly-ratelimit-remaining: ['398'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:20 GMT'] + fastly-ratelimit-remaining: ['681'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666647.934732,VS0,VE473'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692780.391544,VS0,VE505'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/backend + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:47Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:47Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7mtnIbJIoFC6KgteIPornU","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:06:21Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:06:21Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:47 GMT'] - fastly-ratelimit-remaining: ['397'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:21 GMT'] + fastly-ratelimit-remaining: ['680'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666647.471784,VS0,VE176'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692781.955991,VS0,VE181'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"content_types": "text/html text/css application/javascript", @@ -447,55 +472,55 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/gzip + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/gzip response: body: {string: !!python/unicode '{"content_types":"text/html text/css application/javascript","extensions":"html - css js","name":"gzip-config-name","cache_condition":"","service_id":"1CZ9WdFq9PufhCLLXC9Qu0","version":"2","deleted_at":null,"created_at":"2018-05-30T07:50:48Z","updated_at":"2018-05-30T07:50:48Z"}'} + css js","name":"gzip-config-name","cache_condition":"","service_id":"7mtnIbJIoFC6KgteIPornU","version":"2","deleted_at":null,"created_at":"2018-05-30T15:06:21Z","updated_at":"2018-05-30T15:06:21Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['277'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:48 GMT'] - fastly-ratelimit-remaining: ['396'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:21 GMT'] + fastly-ratelimit-remaining: ['679'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666648.707868,VS0,VE421'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692781.187883,VS0,VE205'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/header + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","version":"2","updated_at":"2018-05-30T07:50:48Z","deleted_at":null,"created_at":"2018-05-30T07:50:48Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7mtnIbJIoFC6KgteIPornU","version":"2","updated_at":"2018-05-30T15:06:21Z","deleted_at":null,"created_at":"2018-05-30T15:06:21Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:48 GMT'] - fastly-ratelimit-remaining: ['395'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:21 GMT'] + fastly-ratelimit-remaining: ['678'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666648.190386,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692781.461428,VS0,VE454'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -503,90 +528,90 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/response_object + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"1CZ9WdFq9PufhCLLXC9Qu0","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:48Z","updated_at":"2018-05-30T07:50:48Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7mtnIbJIoFC6KgteIPornU","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:06:22Z","updated_at":"2018-05-30T15:06:22Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:48 GMT'] - fastly-ratelimit-remaining: ['394'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:22 GMT'] + fastly-ratelimit-remaining: ['677'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666648.413625,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692782.966060,VS0,VE169'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/settings + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7mtnIbJIoFC6KgteIPornU"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:49 GMT'] - fastly-ratelimit-remaining: ['393'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:22 GMT'] + fastly-ratelimit-remaining: ['676'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666649.889667,VS0,VE184'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692782.184395,VS0,VE468'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/version/2/activate + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:48Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:22Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:50 GMT'] - fastly-ratelimit-remaining: ['392'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:23 GMT'] + fastly-ratelimit-remaining: ['675'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666649.136296,VS0,VE958'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692783.703047,VS0,VE682'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/1CZ9WdFq9PufhCLLXC9Qu0/details + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","staging":false,"created_at":"2018-05-30T07:50:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:50Z","deployed":false}],"created_at":"2018-05-30T07:50:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:43Z","id":"1CZ9WdFq9PufhCLLXC9Qu0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:50Z","active":true,"number":2,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T07:50:48Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T07:50:48Z","content_types":"text/html + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:23Z","deployed":false}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:50:50Z","active":true,"number":2,"service_id":"1CZ9WdFq9PufhCLLXC9Qu0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T07:50:48Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T07:50:48Z","content_types":"text/html + 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:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} @@ -597,13 +622,13 @@ interactions: connection: [keep-alive] content-length: ['4443'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:50 GMT'] + date: ['Wed, 30 May 2018 15:06:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666650.155292,VS0,VE193'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692783.435975,VS0,VE158'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml b/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml index c357436..964322b 100644 --- a/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml @@ -6,32 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","comment":""}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['914'] + content-length: ['918'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:03 GMT'] + date: ['Wed, 30 May 2018 15:04:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666603.403394,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692700.599061,VS0,VE176'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -39,48 +40,48 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4691'] + content-length: ['4697'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:03 GMT'] + date: ['Wed, 30 May 2018 15:04:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666604.630274,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692700.835256,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/deactivate + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['230'] + content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:04 GMT'] - fastly-ratelimit-remaining: ['445'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:00 GMT'] + fastly-ratelimit-remaining: ['763'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666604.813528,VS0,VE488'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692700.044931,VS0,VE477'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:04 GMT'] - fastly-ratelimit-remaining: ['444'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:01 GMT'] + fastly-ratelimit-remaining: ['762'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666604.361338,VS0,VE433'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692701.580814,VS0,VE434'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml b/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml index 30a12de..a880b6e 100644 --- a/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml +++ b/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml @@ -6,106 +6,104 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","comment":""}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:51 GMT'] + date: ['Wed, 30 May 2018 15:04:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666591.122984,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692688.878290,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:50Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3988'] + content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:51 GMT'] + date: ['Wed, 30 May 2018 15:04:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666591.326112,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692688.345709,VS0,VE431'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/clone + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:50Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:51 GMT'] - fastly-ratelimit-remaining: ['457'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:49 GMT'] + fastly-ratelimit-remaining: ['775'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666592.500627,VS0,VE483'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692689.832884,VS0,VE500'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/domain + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"7T27QZVim1yFRflkNhDcG","created_at":"2018-05-30T07:49:48Z","comment":"","updated_at":"2018-05-30T07:49:48Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","created_at":"2018-05-30T15:04:44Z","comment":"","updated_at":"2018-05-30T15:04:44Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['180'] + content-length: ['181'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:52 GMT'] + date: ['Wed, 30 May 2018 15:04:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666592.043487,VS0,VE519'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692689.392528,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/healthcheck + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:53 GMT'] + date: ['Wed, 30 May 2018 15:04:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666593.623660,VS0,VE934'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692690.878806,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/condition + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,45 +137,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:53 GMT'] + date: ['Wed, 30 May 2018 15:04:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666594.617331,VS0,VE189'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692690.067049,VS0,VE133'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/backend + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:49:48Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"7T27QZVim1yFRflkNhDcG","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:49:48Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:04:45Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:04:45Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['717'] + content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:54 GMT'] + date: ['Wed, 30 May 2018 15:04:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666594.867861,VS0,VE491'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692690.260332,VS0,VE136'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/director + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:54 GMT'] + date: ['Wed, 30 May 2018 15:04:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666594.419961,VS0,VE470'] + x-timer: ['S1527692690.454041,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/cache_settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:55 GMT'] + date: ['Wed, 30 May 2018 15:04:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666595.951354,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692691.631319,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/gzip + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,46 +233,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:55 GMT'] + date: ['Wed, 30 May 2018 15:04:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666595.422448,VS0,VE383'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692691.810102,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/header + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"7T27QZVim1yFRflkNhDcG","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:49:48Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:49:48Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"61gZVpISLDZRhPdKKv5Imc","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:04:45Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:04:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['414'] + content-length: ['415'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:56 GMT'] + date: ['Wed, 30 May 2018 15:04:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666596.864601,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692691.254472,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/request_settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,46 +282,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:56 GMT'] + date: ['Wed, 30 May 2018 15:04:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666596.088151,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692691.431455,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/response_object + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"7T27QZVim1yFRflkNhDcG","cache_condition":"","created_at":"2018-05-30T07:49:49Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:49:49Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","cache_condition":"","created_at":"2018-05-30T15:04:45Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:04:45Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['279'] + content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:56 GMT'] + date: ['Wed, 30 May 2018 15:04:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666596.266251,VS0,VE169'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692692.612056,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/snippet + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +331,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:56 GMT'] + date: ['Wed, 30 May 2018 15:04:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666596.495836,VS0,VE169'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692692.798469,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/logging/s3 + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +355,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:56 GMT'] + date: ['Wed, 30 May 2018 15:04:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666597.726324,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692692.253938,VS0,VE410'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04:52 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692693.722377,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/domain/example8000.com + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +402,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:57 GMT'] - fastly-ratelimit-remaining: ['456'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:53 GMT'] + fastly-ratelimit-remaining: ['774'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666597.953367,VS0,VE462'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692693.902050,VS0,VE437'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/backend/localhost + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +427,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:57 GMT'] - fastly-ratelimit-remaining: ['455'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:53 GMT'] + fastly-ratelimit-remaining: ['773'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666597.476038,VS0,VE474'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692693.396814,VS0,VE592'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +452,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:58 GMT'] - fastly-ratelimit-remaining: ['454'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:54 GMT'] + fastly-ratelimit-remaining: ['772'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666598.009717,VS0,VE497'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692694.047872,VS0,VE235'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,127 +477,127 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:58 GMT'] - fastly-ratelimit-remaining: ['453'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:54 GMT'] + fastly-ratelimit-remaining: ['771'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666599.566471,VS0,VE170'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692694.341331,VS0,VE540'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/domain + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7T27QZVim1yFRflkNhDcG","version":3,"deleted_at":null,"created_at":"2018-05-30T07:49:59Z","updated_at":"2018-05-30T07:49:59Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"61gZVpISLDZRhPdKKv5Imc","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:55Z","updated_at":"2018-05-30T15:04:55Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['178'] + content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:59 GMT'] - fastly-ratelimit-remaining: ['452'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:55 GMT'] + fastly-ratelimit-remaining: ['770'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666599.796702,VS0,VE540'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692695.943287,VS0,VE252'] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"comment": "", "name": "test_healthcheck", "http_version": - "1.1", "window": 5, "initial": 4, "timeout": 5000, "host": "example8000.com", - "expected_response": 200, "check_interval": 15000, "threshold": 3, "path": "/healthcheck", + body: !!python/unicode '{"comment": "", "check_interval": 15000, "name": "test_healthcheck", + "http_version": "1.1", "initial": 4, "host": "example8000.com", "window": 5, + "expected_response": 200, "timeout": 5000, "threshold": 3, "path": "/healthcheck", "method": "GET"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/healthcheck + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/healthcheck response: - body: {string: !!python/unicode '{"comment":"","name":"test_healthcheck","http_version":"1.1","window":5,"initial":4,"timeout":5000,"host":"example8000.com","expected_response":200,"check_interval":15000,"threshold":3,"path":"/healthcheck","method":"GET","service_id":"7T27QZVim1yFRflkNhDcG","version":3,"updated_at":"2018-05-30T07:49:59Z","deleted_at":null,"created_at":"2018-05-30T07:49:59Z"}'} + body: {string: !!python/unicode '{"comment":"","check_interval":15000,"name":"test_healthcheck","http_version":"1.1","initial":4,"host":"example8000.com","window":5,"expected_response":200,"timeout":5000,"threshold":3,"path":"/healthcheck","method":"GET","service_id":"61gZVpISLDZRhPdKKv5Imc","version":3,"updated_at":"2018-05-30T15:04:55Z","deleted_at":null,"created_at":"2018-05-30T15:04:55Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['361'] + content-length: ['362'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:59 GMT'] - fastly-ratelimit-remaining: ['451'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:55 GMT'] + fastly-ratelimit-remaining: ['769'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666599.421027,VS0,VE491'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692695.255293,VS0,VE460'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": "test_healthcheck", "first_byte_timeout": - 15000, "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, - "address": "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": - 80, "ssl_hostname": null, "shield": null}' + 15000, "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": + "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": + 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/backend + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":"test_healthcheck","first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7T27QZVim1yFRflkNhDcG","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:00Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:00Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":"test_healthcheck","first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:56Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:56Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['729'] + content-length: ['730'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:00 GMT'] - fastly-ratelimit-remaining: ['450'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:56 GMT'] + fastly-ratelimit-remaining: ['768'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666600.973596,VS0,VE231'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692696.774427,VS0,VE533'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/header + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7T27QZVim1yFRflkNhDcG","version":"3","updated_at":"2018-05-30T07:50:00Z","deleted_at":null,"created_at":"2018-05-30T07:50:00Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":"3","updated_at":"2018-05-30T15:04:56Z","deleted_at":null,"created_at":"2018-05-30T15:04:56Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['412'] + content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:00 GMT'] - fastly-ratelimit-remaining: ['449'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:56 GMT'] + fastly-ratelimit-remaining: ['767'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666600.264727,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692696.368191,VS0,VE435'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -583,104 +605,103 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/response_object + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"7T27QZVim1yFRflkNhDcG","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:00Z","updated_at":"2018-05-30T07:50:00Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"61gZVpISLDZRhPdKKv5Imc","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:57Z","updated_at":"2018-05-30T15:04:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:00 GMT'] - fastly-ratelimit-remaining: ['448'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:57 GMT'] + fastly-ratelimit-remaining: ['766'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666600.483579,VS0,VE443'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692697.862568,VS0,VE412'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"7T27QZVim1yFRflkNhDcG"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['193'] + content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:01 GMT'] - fastly-ratelimit-remaining: ['447'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:57 GMT'] + fastly-ratelimit-remaining: ['765'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666601.986094,VS0,VE484'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692697.336540,VS0,VE173'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/3/activate + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:00Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:57Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:02 GMT'] - fastly-ratelimit-remaining: ['446'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:58 GMT'] + fastly-ratelimit-remaining: ['764'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666602.531644,VS0,VE879'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692698.568067,VS0,VE1148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4691'] + content-length: ['4697'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:02 GMT'] + date: ['Wed, 30 May 2018 15:04:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666602.470638,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692699.774381,VS0,VE145'] status: {code: 200, message: OK} - request: body: null @@ -689,60 +710,60 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","comment":""}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['914'] + content-length: ['918'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:02 GMT'] + date: ['Wed, 30 May 2018 15:04:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666603.690975,VS0,VE154'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692699.979197,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4691'] + content-length: ['4697'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:03 GMT'] + date: ['Wed, 30 May 2018 15:04:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666603.909730,VS0,VE219'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692699.178082,VS0,VE167'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:02Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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:50:02Z","active":true,"number":3,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:51Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","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":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -750,15 +771,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4691'] + content-length: ['4697'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:03 GMT'] + date: ['Wed, 30 May 2018 15:04:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666603.192887,VS0,VE132'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692699.400940,VS0,VE119'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml index 87e1967..3069b0b 100644 --- a/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml @@ -6,33 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['1150'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:02 GMT'] + date: ['Wed, 30 May 2018 15:02:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666422.934690,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692521.792405,VS0,VE146'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -43,46 +43,46 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:02 GMT'] + date: ['Wed, 30 May 2018 15:02:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666422.398742,VS0,VE178'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692521.997486,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/deactivate + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:03 GMT'] - fastly-ratelimit-remaining: ['636'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:01 GMT'] + fastly-ratelimit-remaining: ['954'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666423.633475,VS0,VE485'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692521.183180,VS0,VE463'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85 response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -91,15 +91,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:03 GMT'] - fastly-ratelimit-remaining: ['635'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:02 GMT'] + fastly-ratelimit-remaining: ['953'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666423.173910,VS0,VE474'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692522.696797,VS0,VE467'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml index 1df6e19..711e7bf 100644 --- a/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,76 +14,75 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:51 GMT'] + date: ['Wed, 30 May 2018 15:01:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666411.949550,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692509.016414,VS0,VE141'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","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":"0","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\" 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 - 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:49Z","active":true,"number":3,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:41Z","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":"0","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\" + 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:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","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":"0","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\" 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 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:51 GMT'] + date: ['Wed, 30 May 2018 15:01:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666411.153101,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692509.215643,VS0,VE418'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/3/clone + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:51 GMT'] - fastly-ratelimit-remaining: ['649'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:50 GMT'] + fastly-ratelimit-remaining: ['967'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666411.332165,VS0,VE210'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692510.713542,VS0,VE508'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/domain response: - body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","created_at":"2018-05-30T07:46:47Z","comment":"","updated_at":"2018-05-30T07:46:47Z"}]'} + body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","created_at":"2018-05-30T15:01:44Z","comment":"","updated_at":"2018-05-30T15:01:44Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:51 GMT'] + date: ['Wed, 30 May 2018 15:01:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666412.603396,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692510.272615,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/healthcheck + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:52 GMT'] + date: ['Wed, 30 May 2018 15:01:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666412.782181,VS0,VE422'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692510.456501,VS0,VE169'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/condition + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:52 GMT'] + date: ['Wed, 30 May 2018 15:01:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666412.266520,VS0,VE390'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692511.678434,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:46:47Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:46:47Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:01:44Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:01:44Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:52 GMT'] + date: ['Wed, 30 May 2018 15:01:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666413.715454,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692511.847523,VS0,VE171'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/director + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,23 +186,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:53 GMT'] + date: ['Wed, 30 May 2018 15:01:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666413.902816,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692511.066773,VS0,VE434'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/cache_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/cache_settings response: - body: {string: !!python/unicode '[{"stale_ttl":"0","version":"4","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","cache_condition":"","created_at":"2018-05-30T07:46:48Z","action":null,"updated_at":"2018-05-30T07:46:48Z"}]'} + body: {string: !!python/unicode '[{"stale_ttl":"0","version":"4","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:45Z","action":null,"updated_at":"2018-05-30T15:01:45Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['243'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:53 GMT'] + date: ['Wed, 30 May 2018 15:01:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666413.090566,VS0,VE132'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692512.554047,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/gzip + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:53 GMT'] + date: ['Wed, 30 May 2018 15:01:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666413.284488,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692512.024789,VS0,VE172'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"4QTALGNdYy2aTC1pf08MkQ","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:46:48Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:46:48Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"2Yozki6zPwppbu2BgGnY85","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:01:45Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:01:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:53 GMT'] + date: ['Wed, 30 May 2018 15:01:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666413.470212,VS0,VE458'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692512.253476,VS0,VE135'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/request_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:54 GMT'] + date: ['Wed, 30 May 2018 15:01:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666414.989906,VS0,VE451'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692512.445898,VS0,VE167'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"4","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","cache_condition":"","created_at":"2018-05-30T07:46:48Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:46:48Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:46Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:01:46Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:54 GMT'] + date: ['Wed, 30 May 2018 15:01:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666414.499661,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692513.672167,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/snippet + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +332,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:55 GMT'] + date: ['Wed, 30 May 2018 15:01:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666415.691963,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692513.859298,VS0,VE121'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/logging/s3 + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:01:53 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692513.037581,VS0,VE462'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/logging/s3 + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +380,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:55 GMT'] + date: ['Wed, 30 May 2018 15:01:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666415.160135,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692514.558308,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/domain/example8000.com + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:55 GMT'] - fastly-ratelimit-remaining: ['648'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:54 GMT'] + fastly-ratelimit-remaining: ['966'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666415.345740,VS0,VE180'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692514.747497,VS0,VE564'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/backend/localhost + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:55 GMT'] - fastly-ratelimit-remaining: ['647'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:54 GMT'] + fastly-ratelimit-remaining: ['965'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666416.586430,VS0,VE206'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692514.370065,VS0,VE502'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/cache_settings/cache-settings-config-name + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/cache_settings/cache-settings-config-name response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:56 GMT'] - fastly-ratelimit-remaining: ['646'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:55 GMT'] + fastly-ratelimit-remaining: ['964'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666416.853516,VS0,VE222'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692515.932762,VS0,VE437'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/header/Set%20Location%20header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,23 +478,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:56 GMT'] - fastly-ratelimit-remaining: ['645'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:55 GMT'] + fastly-ratelimit-remaining: ['963'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666416.138390,VS0,VE208'] + x-timer: ['S1527692515.427189,VS0,VE161'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -480,99 +503,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:56 GMT'] - fastly-ratelimit-remaining: ['644'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:55 GMT'] + fastly-ratelimit-remaining: ['962'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666416.407460,VS0,VE485'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692516.647197,VS0,VE160'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":4,"deleted_at":null,"created_at":"2018-05-30T07:46:57Z","updated_at":"2018-05-30T07:46:57Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2Yozki6zPwppbu2BgGnY85","version":4,"deleted_at":null,"created_at":"2018-05-30T15:01:55Z","updated_at":"2018-05-30T15:01:55Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:57 GMT'] - fastly-ratelimit-remaining: ['643'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:56 GMT'] + fastly-ratelimit-remaining: ['961'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666417.982985,VS0,VE247'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692516.866679,VS0,VE205'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:46:57Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:46:57Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:56Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:56Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:57 GMT'] - fastly-ratelimit-remaining: ['642'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:56 GMT'] + fastly-ratelimit-remaining: ['960'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666417.292022,VS0,VE499'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692516.131287,VS0,VE468'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"4","updated_at":"2018-05-30T07:46:58Z","deleted_at":null,"created_at":"2018-05-30T07:46:58Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":"4","updated_at":"2018-05-30T15:01:57Z","deleted_at":null,"created_at":"2018-05-30T15:01:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:58 GMT'] - fastly-ratelimit-remaining: ['641'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:57 GMT'] + fastly-ratelimit-remaining: ['959'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666418.849367,VS0,VE485'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692517.657954,VS0,VE454'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -580,119 +603,119 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:46:58Z","updated_at":"2018-05-30T07:46:58Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2Yozki6zPwppbu2BgGnY85","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:57Z","updated_at":"2018-05-30T15:01:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:58 GMT'] - fastly-ratelimit-remaining: ['640'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:57 GMT'] + fastly-ratelimit-remaining: ['958'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666418.397016,VS0,VE483'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692517.172295,VS0,VE420'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"access_key": "ACCESS_KEY", "domain": "example8000.com", "redundancy": "standard", "placement": null, "name": "test_s3", "format_version": 2, "format": "%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %>s %b", "server_side_encryption_kms_key_id": - null, "period": 60, "bucket_name": "prod-fastly-logs", "path": "/", "gzip_level": - 0, "secret_key": "SECRET", "message_type": "classic", "server_side_encryption": + null, "period": 60, "bucket_name": "prod-fastly-logs", "gzip_level": 0, "path": + "/", "secret_key": "SECRET", "message_type": "classic", "server_side_encryption": null, "timestamp_format": "%Y-%m-%dT%H:%M:%S.000", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/logging/s3 + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/logging/s3 response: body: {string: !!python/unicode '{"access_key":"ACCESS_KEY","domain":"example8000.com","redundancy":"standard","placement":null,"name":"test_s3","format_version":"2","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b","server_side_encryption_kms_key_id":null,"period":"60","bucket_name":"prod-fastly-logs","path":"/","gzip_level":"0","secret_key":"SECRET","message_type":"classic","server_side_encryption":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","response_condition":"","service_id":"4QTALGNdYy2aTC1pf08MkQ","version":"4","public_key":null,"updated_at":"2018-05-30T07:46:59Z","deleted_at":null,"created_at":"2018-05-30T07:46:59Z"}'} + %h \"%r\" %\u003es %b","server_side_encryption_kms_key_id":null,"period":"60","bucket_name":"prod-fastly-logs","gzip_level":"0","path":"/","secret_key":"SECRET","message_type":"classic","server_side_encryption":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","response_condition":"","service_id":"2Yozki6zPwppbu2BgGnY85","version":"4","public_key":null,"updated_at":"2018-05-30T15:01:58Z","deleted_at":null,"created_at":"2018-05-30T15:01:58Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['609'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:59 GMT'] - fastly-ratelimit-remaining: ['639'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:58 GMT'] + fastly-ratelimit-remaining: ['957'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666419.942908,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692518.651707,VS0,VE434'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"4QTALGNdYy2aTC1pf08MkQ"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:46:59 GMT'] - fastly-ratelimit-remaining: ['638'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:58 GMT'] + fastly-ratelimit-remaining: ['956'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666419.429998,VS0,VE469'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692518.145147,VS0,VE482'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/version/4/activate + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:59Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:58Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:00 GMT'] - fastly-ratelimit-remaining: ['637'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:01:59 GMT'] + fastly-ratelimit-remaining: ['955'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666420.956822,VS0,VE952'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692519.688253,VS0,VE903'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -703,14 +726,14 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:01 GMT'] + date: ['Wed, 30 May 2018 15:02:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666421.965903,VS0,VE220'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692520.647859,VS0,VE448'] status: {code: 200, message: OK} - request: body: null @@ -719,7 +742,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","comment":""}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -727,26 +750,26 @@ interactions: connection: [keep-alive] content-length: ['1150'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:01 GMT'] + date: ['Wed, 30 May 2018 15:02:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666421.241472,VS0,VE184'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692520.153395,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -757,26 +780,26 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:01 GMT'] + date: ['Wed, 30 May 2018 15:02:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666421.480557,VS0,VE131'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692520.365676,VS0,VE167'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4QTALGNdYy2aTC1pf08MkQ/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:49Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"4QTALGNdYy2aTC1pf08MkQ","staging":false,"created_at":"2018-05-30T07:46:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:00Z","deployed":false}],"created_at":"2018-05-30T07:46:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:31Z","id":"4QTALGNdYy2aTC1pf08MkQ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:00Z","active":true,"number":4,"service_id":"4QTALGNdYy2aTC1pf08MkQ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -787,13 +810,13 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:01 GMT'] + date: ['Wed, 30 May 2018 15:02:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666422.663333,VS0,VE195'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692521.585998,VS0,VE126'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml index 497c3db..512e0b3 100644 --- a/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml @@ -10,19 +10,18 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:03 GMT'] + date: ['Wed, 30 May 2018 15:02:02 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666424.714024,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692522.228750,VS0,VE120'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +31,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"d3524e6f32af1ea4b4bc9c60d6317d1cddcb2481","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:47:04Z","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK"}'} + Ansible Module Test","publish_key":"5a00bd7bd2b725463d7ec8f7d58f851fa3879f92","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:02:02Z","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:04 GMT'] - fastly-ratelimit-remaining: ['634'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:02 GMT'] + fastly-ratelimit-remaining: ['952'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666424.895590,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692522.405372,VS0,VE440'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:04Z","active":false,"number":1,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:47:04Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:02Z","active":false,"number":1,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:02:02Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +64,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:04 GMT'] + date: ['Wed, 30 May 2018 15:02:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666424.391269,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692523.903402,VS0,VE168'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/1/clone + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:05 GMT'] - fastly-ratelimit-remaining: ['633'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:03 GMT'] + fastly-ratelimit-remaining: ['951'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666425.880931,VS0,VE224'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692523.129093,VS0,VE497'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/domain + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:05 GMT'] + date: ['Wed, 30 May 2018 15:02:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666425.157425,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692524.684169,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/healthcheck + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +137,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:06 GMT'] + date: ['Wed, 30 May 2018 15:02:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666426.628217,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692524.871822,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/condition + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:06 GMT'] + date: ['Wed, 30 May 2018 15:02:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666426.068603,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692524.053200,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/backend + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:06 GMT'] + date: ['Wed, 30 May 2018 15:02:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666426.256070,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692524.230315,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/director + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:07 GMT'] + date: ['Wed, 30 May 2018 15:02:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666427.726203,VS0,VE422'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692524.410957,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/cache_settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +233,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:07 GMT'] + date: ['Wed, 30 May 2018 15:02:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666427.204484,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692525.591137,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/gzip + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +257,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:07 GMT'] + date: ['Wed, 30 May 2018 15:02:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666427.376296,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692525.776269,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/header + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +281,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:07 GMT'] + date: ['Wed, 30 May 2018 15:02:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666428.549576,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692525.947979,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/request_settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +305,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:08 GMT'] + date: ['Wed, 30 May 2018 15:02:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666428.977986,VS0,VE454'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692525.141683,VS0,VE387'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/response_object + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +329,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:08 GMT'] + date: ['Wed, 30 May 2018 15:02:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666428.490737,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692526.589182,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/snippet + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +353,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:08 GMT'] + date: ['Wed, 30 May 2018 15:02:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666429.700672,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692526.774868,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/logging/s3 + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,97 +377,121 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:09 GMT'] + date: ['Wed, 30 May 2018 15:02:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666429.915071,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692526.217958,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02:06 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692526.394009,VS0,VE127'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/domain + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"51QLfHG1zvS1YZjizF8nPK","version":2,"deleted_at":null,"created_at":"2018-05-30T07:47:09Z","updated_at":"2018-05-30T07:47:09Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":2,"deleted_at":null,"created_at":"2018-05-30T15:02:06Z","updated_at":"2018-05-30T15:02:06Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:09 GMT'] - fastly-ratelimit-remaining: ['632'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:06 GMT'] + fastly-ratelimit-remaining: ['950'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666429.116618,VS0,VE548'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692527.578454,VS0,VE211'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/backend + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:47:09Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:09Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:06Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:06Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:09 GMT'] - fastly-ratelimit-remaining: ['631'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:07 GMT'] + fastly-ratelimit-remaining: ['949'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666430.724529,VS0,VE205'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692527.849964,VS0,VE217'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/header + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"51QLfHG1zvS1YZjizF8nPK","version":"2","updated_at":"2018-05-30T07:47:10Z","deleted_at":null,"created_at":"2018-05-30T07:47:10Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"2","updated_at":"2018-05-30T15:02:07Z","deleted_at":null,"created_at":"2018-05-30T15:02:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:10 GMT'] - fastly-ratelimit-remaining: ['630'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:07 GMT'] + fastly-ratelimit-remaining: ['948'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666430.989738,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692527.124301,VS0,VE446'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -476,87 +499,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/response_object + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"51QLfHG1zvS1YZjizF8nPK","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:47:10Z","updated_at":"2018-05-30T07:47:10Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:08Z","updated_at":"2018-05-30T15:02:08Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:10 GMT'] - fastly-ratelimit-remaining: ['629'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:08 GMT'] + fastly-ratelimit-remaining: ['947'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666430.213567,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692528.633527,VS0,VE444'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"51QLfHG1zvS1YZjizF8nPK"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:10 GMT'] - fastly-ratelimit-remaining: ['628'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:08 GMT'] + fastly-ratelimit-remaining: ['946'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666431.700139,VS0,VE192'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692528.138686,VS0,VE173'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/version/2/activate + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:10Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:11 GMT'] - fastly-ratelimit-remaining: ['627'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:09 GMT'] + fastly-ratelimit-remaining: ['945'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666431.950853,VS0,VE650'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692528.371619,VS0,VE634'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:11Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -566,14 +589,14 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:11 GMT'] + date: ['Wed, 30 May 2018 15:02:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666432.659415,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692529.063395,VS0,VE151'] status: {code: 200, message: OK} - request: body: null @@ -582,33 +605,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","comment":""}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":""}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:12 GMT'] + date: ['Wed, 30 May 2018 15:02:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666432.874212,VS0,VE146'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692529.269522,VS0,VE415'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:11Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -618,25 +640,25 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:12 GMT'] + date: ['Wed, 30 May 2018 15:02:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666432.078062,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692530.746018,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/51QLfHG1zvS1YZjizF8nPK/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:04Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:04Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"51QLfHG1zvS1YZjizF8nPK","staging":false,"created_at":"2018-05-30T07:47:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:11Z","deployed":false}],"created_at":"2018-05-30T07:47:04Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:04Z","id":"51QLfHG1zvS1YZjizF8nPK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:47:11Z","active":true,"number":2,"service_id":"51QLfHG1zvS1YZjizF8nPK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:05Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -646,13 +668,13 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:12 GMT'] + date: ['Wed, 30 May 2018 15:02:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666432.268433,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692530.933295,VS0,VE132'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_tearDown.yml b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_tearDown.yml new file mode 100644 index 0000000..f35a860 --- /dev/null +++ b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_tearDown.yml @@ -0,0 +1,106 @@ +interactions: +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":""}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj"}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['686'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:23 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692723.043407,VS0,VE148'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4679'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:23 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692723.248898,VS0,VE123'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/deactivate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['231'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:23 GMT'] + fastly-ratelimit-remaining: ['742'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692723.431283,VS0,VE502'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:24 GMT'] + fastly-ratelimit-remaining: ['741'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692724.991036,VS0,VE152'] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog.yml b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog.yml new file mode 100644 index 0000000..7ff44ae --- /dev/null +++ b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog.yml @@ -0,0 +1,716 @@ +interactions: +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test + response: + body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load + service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['111'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:11 GMT'] + status: [404 Not Found] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692711.958132,VS0,VE410'] + status: {code: 404, message: Not Found} +- request: + body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service + response: + body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly + Ansible Module Test","publish_key":"606c364a76abf7535c7df7553fc5f4b94c3ba77b","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:11Z","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['512'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:11 GMT'] + fastly-ratelimit-remaining: ['751'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692711.422152,VS0,VE408'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:11Z","active":false,"number":1,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:11Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['1107'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:12 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692712.888481,VS0,VE458'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/1/clone + response: + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['232'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:12 GMT'] + fastly-ratelimit-remaining: ['750'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692712.405904,VS0,VE499'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/domain + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:13 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692713.177099,VS0,VE128'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/healthcheck + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:13 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692713.361775,VS0,VE418'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/condition + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:13 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692714.836856,VS0,VE122'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/backend + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:14 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692714.026770,VS0,VE119'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/director + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:14 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692714.200176,VS0,VE394'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/cache_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:15 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692715.652960,VS0,VE391'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/gzip + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:15 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692715.097811,VS0,VE421'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/header + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:15 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692716.570731,VS0,VE386'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/request_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:16 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692716.012041,VS0,VE384'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/response_object + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:16 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692716.454649,VS0,VE391'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:17 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692717.896510,VS0,VE451'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/logging/s3 + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:17 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692717.402545,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:17 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692718.576787,VS0,VE168'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"comment": "", "name": "example8000.com"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/domain + response: + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6ccs48y0DOyL7boPDXoMOj","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:18Z","updated_at":"2018-05-30T15:05:18Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['179'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:18 GMT'] + fastly-ratelimit-remaining: ['749'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692718.800428,VS0,VE490'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": + "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": + null, "shield": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/backend + response: + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6ccs48y0DOyL7boPDXoMOj","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:18Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:18Z","comment":""}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['716'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:18 GMT'] + fastly-ratelimit-remaining: ['748'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692718.346296,VS0,VE445'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": + null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/header + response: + body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6ccs48y0DOyL7boPDXoMOj","version":"2","updated_at":"2018-05-30T15:05:19Z","deleted_at":null,"created_at":"2018-05-30T15:05:19Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['413'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:19 GMT'] + fastly-ratelimit-remaining: ['747'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692719.847149,VS0,VE446'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set + 200 status code", "content": "", "content_type": "", "response": "Ok"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/response_object + response: + body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6ccs48y0DOyL7boPDXoMOj","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:19Z","updated_at":"2018-05-30T15:05:19Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['278'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:19 GMT'] + fastly-ratelimit-remaining: ['746'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692719.348382,VS0,VE413'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"tls_ca_cert": null, "placement": null, "name": "test_syslog", + "format_version": 2, "format": "%h %l %u %t \"%r\" %>s %b", "hostname": "syslog.example.com", + "use_tls": 0, "tls_hostname": null, "token": "[abc 123]", "address": "syslog.example.com", + "message_type": "classic", "port": 514, "response_condition": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/logging/syslog + response: + body: {string: !!python/unicode '{"tls_ca_cert":null,"placement":null,"name":"test_syslog","format_version":"2","format":"%h + %l %u %t \"%r\" %\u003es %b","hostname":"syslog.example.com","use_tls":"0","tls_hostname":null,"token":"[abc + 123]","address":"syslog.example.com","message_type":"classic","port":514,"response_condition":"","service_id":"6ccs48y0DOyL7boPDXoMOj","version":"2","public_key":null,"updated_at":"2018-05-30T15:05:19Z","ipv4":null,"deleted_at":null,"created_at":"2018-05-30T15:05:19Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['470'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:19 GMT'] + fastly-ratelimit-remaining: ['745'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692720.820129,VS0,VE166'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"general.default_ttl": 3600}' + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/settings + response: + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6ccs48y0DOyL7boPDXoMOj"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['194'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:20 GMT'] + fastly-ratelimit-remaining: ['744'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692720.045924,VS0,VE181'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/activate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:19Z","deployed":false,"msg":null}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['241'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:21 GMT'] + fastly-ratelimit-remaining: ['743'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692720.284030,VS0,VE1528'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4679'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692722.868877,VS0,VE188'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":""}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['686'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692722.115738,VS0,VE484'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4679'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692723.660007,VS0,VE132'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4679'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692723.848080,VS0,VE119'] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog_remove.yml b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog_remove.yml new file mode 100644 index 0000000..78c862f --- /dev/null +++ b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog_remove.yml @@ -0,0 +1,1341 @@ +interactions: +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test + response: + body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load + service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['111'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:24 GMT'] + status: [404 Not Found] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692724.207690,VS0,VE126'] + status: {code: 404, message: Not Found} +- request: + body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service + response: + body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly + Ansible Module Test","publish_key":"3e76d9d0a2964ee82216f3a979d021a631863bba","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:24Z","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['512'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:24 GMT'] + fastly-ratelimit-remaining: ['740'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692724.390020,VS0,VE431'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:24Z","active":false,"number":1,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:24Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['1107'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:25 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692725.879485,VS0,VE451'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/1/clone + response: + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['232'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:25 GMT'] + fastly-ratelimit-remaining: ['739'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692725.389086,VS0,VE220'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/domain + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:26 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692726.659877,VS0,VE406'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/healthcheck + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:26 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692726.114026,VS0,VE407'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/condition + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:26 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692727.572563,VS0,VE121'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/backend + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:27 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692727.743663,VS0,VE420'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/director + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:27 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692727.221103,VS0,VE121'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/cache_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:27 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692727.401392,VS0,VE384'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/gzip + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:28 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692728.843223,VS0,VE408'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/header + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:28 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692728.304341,VS0,VE128'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/request_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:28 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692728.489992,VS0,VE128'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/response_object + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:29 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692729.675174,VS0,VE417'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:29 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692729.150043,VS0,VE122'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/logging/s3 + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:29 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692729.331007,VS0,VE143'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:29 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692730.534997,VS0,VE171'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"comment": "", "name": "example8000.com"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/domain + response: + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:30Z","updated_at":"2018-05-30T15:05:30Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['179'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:30 GMT'] + fastly-ratelimit-remaining: ['738'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692730.764929,VS0,VE475'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": + "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": + null, "shield": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/backend + response: + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:30Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:30Z","comment":""}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['716'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:30 GMT'] + fastly-ratelimit-remaining: ['737'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692730.299705,VS0,VE164'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": + null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/header + response: + body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"2","updated_at":"2018-05-30T15:05:30Z","deleted_at":null,"created_at":"2018-05-30T15:05:30Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['413'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:30 GMT'] + fastly-ratelimit-remaining: ['736'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692731.522497,VS0,VE168'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set + 200 status code", "content": "", "content_type": "", "response": "Ok"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/response_object + response: + body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:30Z","updated_at":"2018-05-30T15:05:30Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['278'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:30 GMT'] + fastly-ratelimit-remaining: ['735'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692731.742204,VS0,VE151'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"tls_ca_cert": null, "placement": null, "name": "test_syslog", + "format_version": 2, "format": "%{%Y-%m-%dT%H:%M:%S}t %h \"%r\" %>s %b", "hostname": + "syslog.example.com", "use_tls": 0, "tls_hostname": null, "token": null, "address": + "syslog.example.com", "message_type": "classic", "port": 514, "response_condition": + null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/logging/syslog + response: + body: {string: !!python/unicode '{"tls_ca_cert":null,"placement":null,"name":"test_syslog","format_version":"2","format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b","hostname":"syslog.example.com","use_tls":"0","tls_hostname":null,"token":null,"address":"syslog.example.com","message_type":"classic","port":514,"response_condition":"","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"2","public_key":null,"updated_at":"2018-05-30T15:05:31Z","ipv4":null,"deleted_at":null,"created_at":"2018-05-30T15:05:31Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['476'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:31 GMT'] + fastly-ratelimit-remaining: ['734'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692731.952570,VS0,VE423'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"general.default_ttl": 3600}' + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/settings + response: + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6rElV0zbjcM0l9pH1uS9qK"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['194'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:31 GMT'] + fastly-ratelimit-remaining: ['733'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692731.436308,VS0,VE450'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/activate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:31Z","deployed":false,"msg":null}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['241'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:33 GMT'] + fastly-ratelimit-remaining: ['732'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692732.937075,VS0,VE1316'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:33Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4691'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:33 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692733.309382,VS0,VE150'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['686'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:33 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692734.518683,VS0,VE151'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:33Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4691'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:33 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692734.727222,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/clone + response: + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:33Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['232'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:34 GMT'] + fastly-ratelimit-remaining: ['731'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692734.909335,VS0,VE505'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/domain + response: + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","created_at":"2018-05-30T15:05:30Z","comment":"","updated_at":"2018-05-30T15:05:30Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['181'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:34 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692734.474999,VS0,VE122'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/healthcheck + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:34 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692735.656522,VS0,VE126'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/condition + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:34 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692735.842496,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/backend + response: + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:05:30Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:05:30Z","comment":""}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['718'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:35 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692735.021516,VS0,VE397'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/director + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:35 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692735.478676,VS0,VE127'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/cache_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:35 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692736.663680,VS0,VE164'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/gzip + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:36 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692736.887191,VS0,VE390'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/header + response: + body: {string: !!python/unicode '[{"priority":"100","service_id":"6rElV0zbjcM0l9pH1uS9qK","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:05:30Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:05:30Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['415'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:36 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692736.336446,VS0,VE392'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/request_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:36 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692737.786439,VS0,VE132'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/response_object + response: + body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set + 200 status code","content":"","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","cache_condition":"","created_at":"2018-05-30T15:05:30Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:05:30Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['280'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:37 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692737.977300,VS0,VE129'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:37 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692737.165298,VS0,VE117'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/logging/s3 + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:37 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692737.342692,VS0,VE130'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/logging/syslog + response: + body: {string: !!python/unicode '[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"updated_at":"2018-05-30T15:05:34Z","message_type":"classic","ipv4":null,"tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","service_id":"6rElV0zbjcM0l9pH1uS9qK","tls_ca_cert":null,"token":null,"version":"3","deleted_at":null,"created_at":"2018-05-30T15:05:31Z","format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['480'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:37 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692738.531818,VS0,VE127'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/domain/example8000.com + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:38 GMT'] + fastly-ratelimit-remaining: ['730'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692738.724810,VS0,VE438'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/backend/localhost + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:38 GMT'] + fastly-ratelimit-remaining: ['729'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692738.219742,VS0,VE181'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/header/Set%20Location%20header + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:38 GMT'] + fastly-ratelimit-remaining: ['728'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692738.458783,VS0,VE202'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/response_object/Set%20200%20status%20code + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:39 GMT'] + fastly-ratelimit-remaining: ['727'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692739.719834,VS0,VE499'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/logging/syslog/test_syslog + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:39 GMT'] + fastly-ratelimit-remaining: ['726'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692739.273058,VS0,VE196'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"comment": "", "name": "example8000.com"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/domain + response: + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":3,"deleted_at":null,"created_at":"2018-05-30T15:05:39Z","updated_at":"2018-05-30T15:05:39Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['179'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:39 GMT'] + fastly-ratelimit-remaining: ['725'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692740.525841,VS0,VE217'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": + "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": + null, "shield": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/backend + response: + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:40Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:40Z","comment":""}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['716'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:40 GMT'] + fastly-ratelimit-remaining: ['724'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692740.799791,VS0,VE468'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": + null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/header + response: + body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"3","updated_at":"2018-05-30T15:05:40Z","deleted_at":null,"created_at":"2018-05-30T15:05:40Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['413'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:40 GMT'] + fastly-ratelimit-remaining: ['723'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692740.330979,VS0,VE459'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set + 200 status code", "content": "", "content_type": "", "response": "Ok"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/response_object + response: + body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:41Z","updated_at":"2018-05-30T15:05:41Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['278'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:41 GMT'] + fastly-ratelimit-remaining: ['722'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692741.845316,VS0,VE423'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"general.default_ttl": 3600}' + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/settings + response: + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"6rElV0zbjcM0l9pH1uS9qK"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['194'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:41 GMT'] + fastly-ratelimit-remaining: ['721'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692741.319790,VS0,VE453'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/activate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:41Z","deployed":false,"msg":null}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['241'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:42 GMT'] + fastly-ratelimit-remaining: ['720'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692742.827670,VS0,VE877'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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}}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4225'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:42 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692743.762981,VS0,VE157'] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml index e040ef6..31bb3c8 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml @@ -6,33 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","comment":""}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['1150'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:22 GMT'] + date: ['Wed, 30 May 2018 15:05:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666623.524985,VS0,VE181'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692752.254762,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/details + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:21Z","deployed":false}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -40,48 +40,48 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4572'] + content-length: ['5041'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:22 GMT'] + date: ['Wed, 30 May 2018 15:05:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666623.766015,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692752.454500,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/deactivate + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:21Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['230'] + content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:23 GMT'] - fastly-ratelimit-remaining: ['424'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:52 GMT'] + fastly-ratelimit-remaining: ['707'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666623.942871,VS0,VE168'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692753.628694,VS0,VE204'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:23 GMT'] - fastly-ratelimit-remaining: ['423'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:53 GMT'] + fastly-ratelimit-remaining: ['706'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666623.171156,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692753.889699,VS0,VE510'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml index 3ca6022..ee4f278 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml @@ -6,105 +6,105 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['111'] + content-length: ['918'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:13 GMT'] - status: [404 Not Found] + date: ['Wed, 30 May 2018 15:05:43 GMT'] + status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666614.845218,VS0,VE116'] - status: {code: 404, message: Not Found} + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692743.043944,VS0,VE153'] + status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' + body: null headers: Content-Type: [application/json] - method: POST - uri: https://api.fastly.com/service + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"21c505b047c044ef32c444b74411493bf13e3f17","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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 + 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}}}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['510'] + content-length: ['4225'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:14 GMT'] - fastly-ratelimit-remaining: ['433'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666614.017731,VS0,VE149'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692743.255038,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/details + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/clone response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:14Z","active":false,"number":1,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1104'] + content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:14 GMT'] + date: ['Wed, 30 May 2018 15:05:43 GMT'] + fastly-ratelimit-remaining: ['719'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666614.225590,VS0,VE154'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692743.441150,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/1/clone + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/domain response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false}'} + body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","created_at":"2018-05-30T15:05:39Z","comment":"","updated_at":"2018-05-30T15:05:39Z"}]'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['181'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:14 GMT'] - fastly-ratelimit-remaining: ['432'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666614.438989,VS0,VE200'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692744.971937,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/domain + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:14 GMT'] + date: ['Wed, 30 May 2018 15:05:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666615.698402,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692744.153513,VS0,VE407'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/healthcheck + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/condition response: body: {string: !!python/unicode '[]'} headers: @@ -138,45 +138,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:15 GMT'] + date: ['Wed, 30 May 2018 15:05:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666615.878353,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692745.613720,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/condition + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/backend response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:05:40Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:05:40Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:15 GMT'] + date: ['Wed, 30 May 2018 15:05:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666615.061096,VS0,VE383'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692745.790136,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/backend + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:15 GMT'] + date: ['Wed, 30 May 2018 15:05:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666616.502883,VS0,VE133'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692745.976290,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/director + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:15 GMT'] + date: ['Wed, 30 May 2018 15:05:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666616.695241,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692745.154729,VS0,VE407'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/cache_settings + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -234,45 +234,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:16 GMT'] + date: ['Wed, 30 May 2018 15:05:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666616.880357,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692746.620490,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/gzip + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/header response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"6rElV0zbjcM0l9pH1uS9qK","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:05:40Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:05:40Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['415'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:16 GMT'] + date: ['Wed, 30 May 2018 15:05:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666616.060950,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692746.800228,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/header + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -282,45 +283,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:16 GMT'] + date: ['Wed, 30 May 2018 15:05:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666616.280339,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692746.983339,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/request_settings + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/response_object response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '[{"response":"Ok","version":"4","status":"200","name":"Set + 200 status code","content":"","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","cache_condition":"","created_at":"2018-05-30T15:05:41Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:05:41Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:16 GMT'] + date: ['Wed, 30 May 2018 15:05:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666616.462723,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692746.171958,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/response_object + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +332,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:17 GMT'] + date: ['Wed, 30 May 2018 15:05:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666617.923104,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692746.353234,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/snippet + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:17 GMT'] + date: ['Wed, 30 May 2018 15:05:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666617.373786,VS0,VE422'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692747.528603,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/logging/s3 + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -378,125 +380,225 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:17 GMT'] + date: ['Wed, 30 May 2018 15:05:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666618.855786,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692747.709170,VS0,VE122'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/domain/example8000.com + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:47 GMT'] + fastly-ratelimit-remaining: ['718'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692747.892728,VS0,VE433'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/backend/localhost + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:47 GMT'] + fastly-ratelimit-remaining: ['717'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692747.384299,VS0,VE453'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/header/Set%20Location%20header + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:48 GMT'] + fastly-ratelimit-remaining: ['716'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692748.895534,VS0,VE450'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/response_object/Set%20200%20status%20code + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:48 GMT'] + fastly-ratelimit-remaining: ['715'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692748.394871,VS0,VE439'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/domain + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"fsIbQNCIafZLnlJlci6re","version":2,"deleted_at":null,"created_at":"2018-05-30T07:50:18Z","updated_at":"2018-05-30T07:50:18Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":4,"deleted_at":null,"created_at":"2018-05-30T15:05:49Z","updated_at":"2018-05-30T15:05:49Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['178'] + content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:18 GMT'] - fastly-ratelimit-remaining: ['431'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:49 GMT'] + fastly-ratelimit-remaining: ['714'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666618.044476,VS0,VE499'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692749.903047,VS0,VE211'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/backend + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"fsIbQNCIafZLnlJlci6re","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:18Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:18Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:49Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:49Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:19 GMT'] - fastly-ratelimit-remaining: ['430'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:49 GMT'] + fastly-ratelimit-remaining: ['713'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666619.600538,VS0,VE474'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692749.167646,VS0,VE174'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/header + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"fsIbQNCIafZLnlJlci6re","version":"2","updated_at":"2018-05-30T07:50:19Z","deleted_at":null,"created_at":"2018-05-30T07:50:19Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"4","updated_at":"2018-05-30T15:05:49Z","deleted_at":null,"created_at":"2018-05-30T15:05:49Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['412'] + content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:19 GMT'] - fastly-ratelimit-remaining: ['429'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:49 GMT'] + fastly-ratelimit-remaining: ['712'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666619.135136,VS0,VE165'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692749.391086,VS0,VE155'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"request_condition": "", "name": "request-setting-config-name", - "force_miss": 1, "xff": "append", "bypass_busy_wait": 1, "timer_support": 1, + "force_miss": 1, "xff": "append", "bypass_busy_wait": 1, "hash_keys": "req.url,req.http.host,req.http.Fastly-SSL", "force_ssl": 1, "action": "pass", "geo_headers": 1, "default_host": "example.net", - "hash_keys": "req.url,req.http.host,req.http.Fastly-SSL", "max_stale_age": 30}' + "timer_support": 1, "max_stale_age": 30}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/request_settings + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/request_settings response: - body: {string: !!python/unicode '{"request_condition":"","name":"request-setting-config-name","force_miss":"1","xff":"append","bypass_busy_wait":"1","timer_support":"1","force_ssl":"1","action":"pass","geo_headers":"1","default_host":"example.net","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":30,"service_id":"fsIbQNCIafZLnlJlci6re","version":"2","updated_at":"2018-05-30T07:50:19Z","deleted_at":null,"created_at":"2018-05-30T07:50:19Z"}'} + body: {string: !!python/unicode '{"request_condition":"","name":"request-setting-config-name","force_miss":"1","xff":"append","bypass_busy_wait":"1","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","force_ssl":"1","action":"pass","geo_headers":"1","default_host":"example.net","timer_support":"1","max_stale_age":30,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"4","updated_at":"2018-05-30T15:05:49Z","deleted_at":null,"created_at":"2018-05-30T15:05:49Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['431'] + content-length: ['432'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:19 GMT'] - fastly-ratelimit-remaining: ['428'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:50 GMT'] + fastly-ratelimit-remaining: ['711'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666619.358917,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692750.595587,VS0,VE422'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -504,87 +606,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/response_object + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"fsIbQNCIafZLnlJlci6re","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:19Z","updated_at":"2018-05-30T07:50:19Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:50Z","updated_at":"2018-05-30T15:05:50Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:19 GMT'] - fastly-ratelimit-remaining: ['427'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:50 GMT'] + fastly-ratelimit-remaining: ['710'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666620.569455,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692750.068382,VS0,VE149'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/settings + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"fsIbQNCIafZLnlJlci6re"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"6rElV0zbjcM0l9pH1uS9qK"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['193'] + content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:20 GMT'] - fastly-ratelimit-remaining: ['426'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:50 GMT'] + fastly-ratelimit-remaining: ['709'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666620.055858,VS0,VE398'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692750.267523,VS0,VE182'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/version/2/activate + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:19Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:50Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:21 GMT'] - fastly-ratelimit-remaining: ['425'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:51 GMT'] + fastly-ratelimit-remaining: ['708'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666621.515052,VS0,VE635'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692751.501578,VS0,VE926'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/details + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:21Z","deployed":false}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -592,16 +694,16 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4572'] + content-length: ['5041'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:21 GMT'] + date: ['Wed, 30 May 2018 15:05:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666621.210271,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692751.479636,VS0,VE155'] status: {code: 200, message: OK} - request: body: null @@ -610,60 +712,60 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","comment":""}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['1150'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:22 GMT'] + date: ['Wed, 30 May 2018 15:05:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666622.684328,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692752.688746,VS0,VE153'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/details + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:21Z","deployed":false}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4572'] + content-length: ['5041'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:22 GMT'] + date: ['Wed, 30 May 2018 15:05:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666622.145992,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692752.891457,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/fsIbQNCIafZLnlJlci6re/details + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:14Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"fsIbQNCIafZLnlJlci6re","staging":false,"created_at":"2018-05-30T07:50:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:21Z","deployed":false}],"created_at":"2018-05-30T07:50:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:14Z","id":"fsIbQNCIafZLnlJlci6re","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 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:50:21Z","active":true,"number":2,"service_id":"fsIbQNCIafZLnlJlci6re","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:14Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 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}}}'} headers: @@ -671,15 +773,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4572'] + content-length: ['5041'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:22 GMT'] + date: ['Wed, 30 May 2018 15:05:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666622.321760,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692752.063478,VS0,VE119'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml index 8ada4a1..86fa39c 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml @@ -10,19 +10,18 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:23 GMT'] + date: ['Wed, 30 May 2018 15:05:53 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666624.671926,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692753.458963,VS0,VE157'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,79 +31,79 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"3a1b05ae6fe08d1dd3d1785d0a56278094e4dad3","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:50:23Z","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS"}'} + Ansible Module Test","publish_key":"7ac8f7d4929baa024c974fd1491c30c5eb54991f","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['510'] + content-length: ['512'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:23 GMT'] - fastly-ratelimit-remaining: ['422'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:54 GMT'] + fastly-ratelimit-remaining: ['705'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666624.852855,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692754.670107,VS0,VE441'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:23Z","active":false,"number":1,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:50:23Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:54Z","active":false,"number":1,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1104'] + content-length: ['1107'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:24 GMT'] + date: ['Wed, 30 May 2018 15:05:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666624.056811,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692754.169020,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/1/clone + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:24 GMT'] - fastly-ratelimit-remaining: ['421'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:54 GMT'] + fastly-ratelimit-remaining: ['704'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666624.278028,VS0,VE464'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692754.379235,VS0,VE479'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/domain + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:24 GMT'] + date: ['Wed, 30 May 2018 15:05:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666625.801428,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692755.908647,VS0,VE163'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/healthcheck + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +137,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:25 GMT'] + date: ['Wed, 30 May 2018 15:05:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666625.987337,VS0,VE131'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692755.121698,VS0,VE415'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/condition + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:25 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666625.178258,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692756.589946,VS0,VE482'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/backend + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:25 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666625.364260,VS0,VE398'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692756.124363,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/director + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:26 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666626.821365,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692756.301611,VS0,VE162'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/cache_settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +233,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:26 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666626.317603,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692757.520861,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/gzip + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +257,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:26 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666627.504187,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692757.701099,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/header + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +281,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:27 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666627.689244,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692757.874034,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/request_settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +305,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:27 GMT'] + date: ['Wed, 30 May 2018 15:05:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666627.135915,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692757.048904,VS0,VE171'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/response_object + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +329,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:27 GMT'] + date: ['Wed, 30 May 2018 15:05:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666627.319719,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692757.279994,VS0,VE423'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/snippet + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +353,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:27 GMT'] + date: ['Wed, 30 May 2018 15:05:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666627.497209,VS0,VE131'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692758.759260,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/logging/s3 + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,97 +377,121 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:27 GMT'] + date: ['Wed, 30 May 2018 15:05:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666628.689463,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692758.229156,VS0,VE166'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:58 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692758.446530,VS0,VE446'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/domain + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"qvsKnmSfExOg9cWUIvCNS","version":2,"deleted_at":null,"created_at":"2018-05-30T07:50:28Z","updated_at":"2018-05-30T07:50:28Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7OAhzqSh0dQSAyFB213yD2","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:59Z","updated_at":"2018-05-30T15:05:59Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['178'] + content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:28 GMT'] - fastly-ratelimit-remaining: ['420'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:59 GMT'] + fastly-ratelimit-remaining: ['703'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666628.874702,VS0,VE488'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692759.952056,VS0,VE218'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/backend + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:28Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:28Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:59Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:59Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:28 GMT'] - fastly-ratelimit-remaining: ['419'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:59 GMT'] + fastly-ratelimit-remaining: ['702'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666628.422579,VS0,VE198'] + x-timer: ['S1527692759.226481,VS0,VE177'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/header + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","version":"2","updated_at":"2018-05-30T07:50:28Z","deleted_at":null,"created_at":"2018-05-30T07:50:28Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":"2","updated_at":"2018-05-30T15:05:59Z","deleted_at":null,"created_at":"2018-05-30T15:05:59Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['412'] + content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:28 GMT'] - fastly-ratelimit-remaining: ['418'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:59 GMT'] + fastly-ratelimit-remaining: ['701'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666629.679478,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692759.465538,VS0,VE433'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -477,87 +500,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/response_object + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"qvsKnmSfExOg9cWUIvCNS","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:29Z","updated_at":"2018-05-30T07:50:29Z"}'} + 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"7OAhzqSh0dQSAyFB213yD2","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:06:00Z","updated_at":"2018-05-30T15:06:00Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['304'] + content-length: ['305'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:29 GMT'] - fastly-ratelimit-remaining: ['417'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:00 GMT'] + fastly-ratelimit-remaining: ['700'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666629.899621,VS0,VE466'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692760.958263,VS0,VE161'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"qvsKnmSfExOg9cWUIvCNS"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['193'] + content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:29 GMT'] - fastly-ratelimit-remaining: ['416'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:00 GMT'] + fastly-ratelimit-remaining: ['699'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666629.426072,VS0,VE441'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692760.177626,VS0,VE466'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/activate + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:29Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:00Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:30 GMT'] - fastly-ratelimit-remaining: ['415'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:01 GMT'] + fastly-ratelimit-remaining: ['698'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666630.929520,VS0,VE626'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692761.698501,VS0,VE712'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:30Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: @@ -565,16 +588,16 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4042'] + content-length: ['4047'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:30 GMT'] + date: ['Wed, 30 May 2018 15:06:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666631.615195,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692761.469846,VS0,VE150'] status: {code: 200, message: OK} - request: body: null @@ -583,77 +606,75 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","comment":""}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:30 GMT'] + date: ['Wed, 30 May 2018 15:06:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666631.828342,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692762.678202,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:30Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4042'] + content-length: ['4047'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:31 GMT'] + date: ['Wed, 30 May 2018 15:06:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666631.025841,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692762.885348,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:30Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4042'] + content-length: ['4047'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:31 GMT'] + date: ['Wed, 30 May 2018 15:06:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666631.203028,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692762.067305,VS0,VE127'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml index 594ca4a..ddd0537 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","comment":""}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":""}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,73 +14,74 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:41 GMT'] + date: ['Wed, 30 May 2018 15:04:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666581.079485,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692677.232220,VS0,VE151'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/details + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:39Z","deployed":false}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:41 GMT'] + date: ['Wed, 30 May 2018 15:04:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666582.569828,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692677.439129,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/deactivate + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:39Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:42 GMT'] - fastly-ratelimit-remaining: ['467'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:38 GMT'] + fastly-ratelimit-remaining: ['785'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666582.745215,VS0,VE467'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692678.622173,VS0,VE476'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:42 GMT'] - fastly-ratelimit-remaining: ['466'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:38 GMT'] + fastly-ratelimit-remaining: ['784'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666582.272616,VS0,VE555'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692678.158324,VS0,VE430'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml index dde85fe..d67b3a2 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml @@ -10,18 +10,19 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:31 GMT'] + date: ['Wed, 30 May 2018 15:04:28 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666571.958832,VS0,VE383'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692668.008560,VS0,VE125'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -31,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"f1e018be221867521c33ca72753c43e2340cec3f","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:49:31Z","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW"}'} + Ansible Module Test","publish_key":"79997d507d98220649b91623d7a85711d747398e","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:04:28Z","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:31 GMT'] - fastly-ratelimit-remaining: ['475'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:28 GMT'] + fastly-ratelimit-remaining: ['793'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666571.401890,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692668.192105,VS0,VE156'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/details + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:31Z","active":false,"number":1,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:49:31Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:28Z","active":false,"number":1,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:04:28Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -64,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:32 GMT'] + date: ['Wed, 30 May 2018 15:04:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666572.896600,VS0,VE455'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692668.406777,VS0,VE490'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/1/clone + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:32 GMT'] - fastly-ratelimit-remaining: ['474'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:29 GMT'] + fastly-ratelimit-remaining: ['792'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666572.411017,VS0,VE487'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692669.952802,VS0,VE464'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/domain + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:33 GMT'] + date: ['Wed, 30 May 2018 15:04:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666573.959215,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692669.474261,VS0,VE171'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/healthcheck + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -137,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:33 GMT'] + date: ['Wed, 30 May 2018 15:04:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666573.141888,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692670.703862,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/condition + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -161,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:33 GMT'] + date: ['Wed, 30 May 2018 15:04:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666573.366036,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692670.890189,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/backend + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:33 GMT'] + date: ['Wed, 30 May 2018 15:04:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666574.592542,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692670.111564,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/director + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:34 GMT'] + date: ['Wed, 30 May 2018 15:04:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666574.812506,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692670.292598,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/cache_settings + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -233,21 +234,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:34 GMT'] + date: ['Wed, 30 May 2018 15:04:30 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692670.473548,VS0,VE386'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/gzip + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666574.290165,VS0,VE128'] + x-timer: ['S1527692671.919104,VS0,VE390'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/gzip + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -257,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:34 GMT'] + date: ['Wed, 30 May 2018 15:04:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666574.479308,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692671.364286,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/header + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -281,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:34 GMT'] + date: ['Wed, 30 May 2018 15:04:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666575.656839,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692672.544200,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/request_settings + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -305,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:35 GMT'] + date: ['Wed, 30 May 2018 15:04:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666575.878465,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692672.733577,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/response_object + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -329,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:35 GMT'] + date: ['Wed, 30 May 2018 15:04:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666575.331787,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692672.907000,VS0,VE397'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/snippet + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -353,21 +378,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:36 GMT'] + date: ['Wed, 30 May 2018 15:04:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666576.803182,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692672.364106,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/logging/s3 + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -377,97 +402,97 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:36 GMT'] + date: ['Wed, 30 May 2018 15:04:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666576.291160,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692673.549865,VS0,VE409'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/domain + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7hKPj8W5jAXNCp63bPD6uW","version":2,"deleted_at":null,"created_at":"2018-05-30T07:49:36Z","updated_at":"2018-05-30T07:49:36Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5pifNA4PY7fglIORdqj4cK","version":2,"deleted_at":null,"created_at":"2018-05-30T15:04:33Z","updated_at":"2018-05-30T15:04:33Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:36 GMT'] - fastly-ratelimit-remaining: ['473'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:33 GMT'] + fastly-ratelimit-remaining: ['791'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666576.476005,VS0,VE486'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692673.015889,VS0,VE475'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/backend + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7hKPj8W5jAXNCp63bPD6uW","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:49:37Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:49:37Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5pifNA4PY7fglIORdqj4cK","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:33Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:33Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:37 GMT'] - fastly-ratelimit-remaining: ['472'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:34 GMT'] + fastly-ratelimit-remaining: ['790'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666577.023486,VS0,VE476'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692674.551397,VS0,VE472'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/header + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7hKPj8W5jAXNCp63bPD6uW","version":"2","updated_at":"2018-05-30T07:49:37Z","deleted_at":null,"created_at":"2018-05-30T07:49:37Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5pifNA4PY7fglIORdqj4cK","version":"2","updated_at":"2018-05-30T15:04:34Z","deleted_at":null,"created_at":"2018-05-30T15:04:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:37 GMT'] - fastly-ratelimit-remaining: ['471'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:34 GMT'] + fastly-ratelimit-remaining: ['789'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666578.563148,VS0,VE425'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692674.078174,VS0,VE449'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -476,87 +501,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/response_object + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"7hKPj8W5jAXNCp63bPD6uW","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:49:38Z","updated_at":"2018-05-30T07:49:38Z"}'} + 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"5pifNA4PY7fglIORdqj4cK","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:34Z","updated_at":"2018-05-30T15:04:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['305'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:38 GMT'] - fastly-ratelimit-remaining: ['470'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:34 GMT'] + fastly-ratelimit-remaining: ['788'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666578.050860,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692675.584135,VS0,VE199'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/settings + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7hKPj8W5jAXNCp63bPD6uW"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5pifNA4PY7fglIORdqj4cK"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:38 GMT'] - fastly-ratelimit-remaining: ['469'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:35 GMT'] + fastly-ratelimit-remaining: ['787'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666579.528727,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692675.839587,VS0,VE462'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/version/2/activate + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:38Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:34Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:39 GMT'] - fastly-ratelimit-remaining: ['468'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:36 GMT'] + fastly-ratelimit-remaining: ['786'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666579.035251,VS0,VE896'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692675.363217,VS0,VE639'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/details + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:39Z","deployed":false}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: @@ -566,14 +591,14 @@ interactions: connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:40 GMT'] + date: ['Wed, 30 May 2018 15:04:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666580.992963,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692676.060815,VS0,VE195'] status: {code: 200, message: OK} - request: body: null @@ -582,32 +607,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","comment":""}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":""}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:40 GMT'] + date: ['Wed, 30 May 2018 15:04:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666580.204344,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692676.314915,VS0,VE439'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/details + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:39Z","deployed":false}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: @@ -617,25 +643,25 @@ interactions: connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:40 GMT'] + date: ['Wed, 30 May 2018 15:04:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666581.693930,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692677.811934,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7hKPj8W5jAXNCp63bPD6uW/details + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:31Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:31Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7hKPj8W5jAXNCp63bPD6uW","staging":false,"created_at":"2018-05-30T07:49:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:39Z","deployed":false}],"created_at":"2018-05-30T07:49:31Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:31Z","id":"7hKPj8W5jAXNCp63bPD6uW","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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:49:39Z","active":true,"number":2,"service_id":"7hKPj8W5jAXNCp63bPD6uW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: @@ -645,13 +671,13 @@ interactions: connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:40 GMT'] + date: ['Wed, 30 May 2018 15:04:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666581.875153,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692677.999170,VS0,VE155'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml index 96a6bb8..8270437 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:43 GMT'] + date: ['Wed, 30 May 2018 15:04:38 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666583.900931,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692679.654520,VS0,VE127'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,79 +32,79 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"062a4fac3ddc727de3f0a74b7dd5691a44e99126","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG"}'} + Ansible Module Test","publish_key":"43d587e1ad93b4befacedaee874a1bef8a1c5945","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:04:38Z","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['510'] + content-length: ['512'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:43 GMT'] - fastly-ratelimit-remaining: ['465'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:38 GMT'] + fastly-ratelimit-remaining: ['783'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666583.126456,VS0,VE449'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692679.838682,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:43Z","active":false,"number":1,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:38Z","active":false,"number":1,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:04:38Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1104'] + content-length: ['1107'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:43 GMT'] + date: ['Wed, 30 May 2018 15:04:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666584.635281,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692679.043028,VS0,VE190'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/1/clone + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:44 GMT'] - fastly-ratelimit-remaining: ['464'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:39 GMT'] + fastly-ratelimit-remaining: ['782'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666584.848350,VS0,VE215'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692679.291458,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/domain + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:44 GMT'] + date: ['Wed, 30 May 2018 15:04:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666584.123386,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692680.833468,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/healthcheck + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:44 GMT'] + date: ['Wed, 30 May 2018 15:04:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666584.339565,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692680.026586,VS0,VE407'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/condition + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:44 GMT'] + date: ['Wed, 30 May 2018 15:04:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666585.519468,VS0,VE429'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692680.492863,VS0,VE429'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/backend + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:45 GMT'] + date: ['Wed, 30 May 2018 15:04:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666585.010548,VS0,VE173'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692681.982017,VS0,VE435'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/director + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:45 GMT'] + date: ['Wed, 30 May 2018 15:04:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666585.243966,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692681.476142,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/cache_settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:45 GMT'] + date: ['Wed, 30 May 2018 15:04:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666586.697907,VS0,VE162'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692682.661907,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/gzip + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:46 GMT'] + date: ['Wed, 30 May 2018 15:04:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666586.920499,VS0,VE423'] + x-timer: ['S1527692682.836189,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/header + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:46 GMT'] + date: ['Wed, 30 May 2018 15:04:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666586.405770,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692682.009961,VS0,VE382'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/request_settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:46 GMT'] + date: ['Wed, 30 May 2018 15:04:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666587.582719,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692682.447908,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/response_object + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:47 GMT'] + date: ['Wed, 30 May 2018 15:04:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666587.051768,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692683.622608,VS0,VE453'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/snippet + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:47 GMT'] + date: ['Wed, 30 May 2018 15:04:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666587.269952,VS0,VE135'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692683.133589,VS0,VE404'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/logging/s3 + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,97 +378,121 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:47 GMT'] + date: ['Wed, 30 May 2018 15:04:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666587.465621,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692684.598205,VS0,VE165'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04:44 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692684.821778,VS0,VE448'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/domain + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7T27QZVim1yFRflkNhDcG","version":2,"deleted_at":null,"created_at":"2018-05-30T07:49:48Z","updated_at":"2018-05-30T07:49:48Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"61gZVpISLDZRhPdKKv5Imc","version":2,"deleted_at":null,"created_at":"2018-05-30T15:04:44Z","updated_at":"2018-05-30T15:04:44Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['178'] + content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:48 GMT'] - fastly-ratelimit-remaining: ['463'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:44 GMT'] + fastly-ratelimit-remaining: ['781'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666588.921709,VS0,VE195'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692684.329598,VS0,VE536'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/backend + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7T27QZVim1yFRflkNhDcG","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:49:48Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:49:48Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:45Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:45Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:48 GMT'] - fastly-ratelimit-remaining: ['462'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:45 GMT'] + fastly-ratelimit-remaining: ['780'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666588.178235,VS0,VE177'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692685.925269,VS0,VE175'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/header + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7T27QZVim1yFRflkNhDcG","version":"2","updated_at":"2018-05-30T07:49:48Z","deleted_at":null,"created_at":"2018-05-30T07:49:48Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":"2","updated_at":"2018-05-30T15:04:45Z","deleted_at":null,"created_at":"2018-05-30T15:04:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['412'] + content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:48 GMT'] - fastly-ratelimit-remaining: ['461'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:45 GMT'] + fastly-ratelimit-remaining: ['779'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666588.417456,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692685.157440,VS0,VE156'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -476,87 +500,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/response_object + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"7T27QZVim1yFRflkNhDcG","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:49:49Z","updated_at":"2018-05-30T07:49:49Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"61gZVpISLDZRhPdKKv5Imc","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:45Z","updated_at":"2018-05-30T15:04:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:49 GMT'] - fastly-ratelimit-remaining: ['460'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:45 GMT'] + fastly-ratelimit-remaining: ['778'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666589.890720,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692685.367802,VS0,VE163'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7T27QZVim1yFRflkNhDcG"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['193'] + content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:49 GMT'] - fastly-ratelimit-remaining: ['459'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:46 GMT'] + fastly-ratelimit-remaining: ['777'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666589.364496,VS0,VE174'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692686.587812,VS0,VE443'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/version/2/activate + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:49Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:45Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:50 GMT'] - fastly-ratelimit-remaining: ['458'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:04:47 GMT'] + fastly-ratelimit-remaining: ['776'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666590.601456,VS0,VE588'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692686.089213,VS0,VE927'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:50Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -564,16 +588,16 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3988'] + content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:50 GMT'] + date: ['Wed, 30 May 2018 15:04:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666590.258412,VS0,VE144'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692687.073766,VS0,VE144'] status: {code: 200, message: OK} - request: body: null @@ -582,60 +606,61 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","comment":""}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:50 GMT'] + date: ['Wed, 30 May 2018 15:04:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666590.463189,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692687.274278,VS0,VE144'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:50Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3988'] + content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:50 GMT'] + date: ['Wed, 30 May 2018 15:04:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666591.675099,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692687.478666,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7T27QZVim1yFRflkNhDcG/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:43Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7T27QZVim1yFRflkNhDcG","staging":false,"created_at":"2018-05-30T07:49:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:49:50Z","deployed":false}],"created_at":"2018-05-30T07:49:43Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:49:43Z","id":"7T27QZVim1yFRflkNhDcG","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 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:49:50Z","active":true,"number":2,"service_id":"7T27QZVim1yFRflkNhDcG","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:49:43Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 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:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 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}}}'} headers: @@ -643,15 +668,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3988'] + content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:49:51 GMT'] + date: ['Wed, 30 May 2018 15:04:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666591.890328,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692688.656364,VS0,VE115'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml b/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml index c49ed2b..a564f2e 100644 --- a/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml @@ -6,32 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","comment":""}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":""}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:13 GMT'] + date: ['Wed, 30 May 2018 15:05:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666613.944215,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692710.744571,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/details + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:11Z","deployed":false}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -39,48 +39,48 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3988'] + content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:13 GMT'] + date: ['Wed, 30 May 2018 15:05:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666613.144107,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692710.941482,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/deactivate + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:11Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['230'] + content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:13 GMT'] - fastly-ratelimit-remaining: ['435'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:10 GMT'] + fastly-ratelimit-remaining: ['753'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666613.321779,VS0,VE250'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692710.121952,VS0,VE226'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,15 +89,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:13 GMT'] - fastly-ratelimit-remaining: ['434'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:10 GMT'] + fastly-ratelimit-remaining: ['752'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666614.629944,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692710.406517,VS0,VE484'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml b/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml index a16704c..fb5b3d5 100644 --- a/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml +++ b/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml @@ -10,19 +10,18 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:04 GMT'] + date: ['Wed, 30 May 2018 15:05:01 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666605.865026,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692701.081881,VS0,VE113'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,79 +31,79 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"f03b513aec0d164fee02867b9a3e8d6bb2e065be","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:50:05Z","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY"}'} + Ansible Module Test","publish_key":"2b889c213c9f1c5f780f554dee6a4f91dafbd886","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:01Z","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['510'] + content-length: ['512'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:05 GMT'] - fastly-ratelimit-remaining: ['443'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:01 GMT'] + fastly-ratelimit-remaining: ['761'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666605.042425,VS0,VE436'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692701.253669,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/details + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:05Z","active":false,"number":1,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:50:05Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:01Z","active":false,"number":1,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:01Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1104'] + content-length: ['1107'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:05 GMT'] + date: ['Wed, 30 May 2018 15:05:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666606.536017,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692701.461604,VS0,VE437'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/1/clone + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:06 GMT'] - fastly-ratelimit-remaining: ['442'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:02 GMT'] + fastly-ratelimit-remaining: ['760'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666606.760360,VS0,VE460'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692702.955537,VS0,VE512'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/domain + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:06 GMT'] + date: ['Wed, 30 May 2018 15:05:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666606.279980,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692703.521727,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/healthcheck + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +137,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:06 GMT'] + date: ['Wed, 30 May 2018 15:05:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666606.463460,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692703.997723,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/condition + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:06 GMT'] + date: ['Wed, 30 May 2018 15:05:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666607.650844,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692703.460782,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/backend + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:06 GMT'] + date: ['Wed, 30 May 2018 15:05:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666607.839110,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692704.652341,VS0,VE456'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/director + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:07 GMT'] + date: ['Wed, 30 May 2018 15:05:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666607.028047,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692704.164676,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/cache_settings + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +233,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:07 GMT'] + date: ['Wed, 30 May 2018 15:05:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666608.513588,VS0,VE385'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692704.357943,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/gzip + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +257,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:08 GMT'] + date: ['Wed, 30 May 2018 15:05:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666608.959803,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692705.541459,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/header + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +281,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:08 GMT'] + date: ['Wed, 30 May 2018 15:05:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666608.138508,VS0,VE128'] + x-timer: ['S1527692705.721940,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/request_settings + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +305,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:08 GMT'] + date: ['Wed, 30 May 2018 15:05:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666608.326408,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692705.903776,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/response_object + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +329,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:08 GMT'] + date: ['Wed, 30 May 2018 15:05:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666609.508075,VS0,VE394'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692705.091093,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/snippet + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +353,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:09 GMT'] + date: ['Wed, 30 May 2018 15:05:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666609.960942,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692705.269962,VS0,VE133'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/logging/s3 + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,97 +377,121 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:09 GMT'] + date: ['Wed, 30 May 2018 15:05:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666609.429659,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692705.458898,VS0,VE415'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:06 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692706.932962,VS0,VE126'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/domain + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"W67dUX94XzwZ984qghMvY","version":2,"deleted_at":null,"created_at":"2018-05-30T07:50:09Z","updated_at":"2018-05-30T07:50:09Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6QtbuNzxWZQy6sItdrPtLS","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:06Z","updated_at":"2018-05-30T15:05:06Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['178'] + content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:09 GMT'] - fastly-ratelimit-remaining: ['441'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:06 GMT'] + fastly-ratelimit-remaining: ['759'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666610.615350,VS0,VE213'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692706.122964,VS0,VE485'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/backend + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"W67dUX94XzwZ984qghMvY","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:10Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:10Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6QtbuNzxWZQy6sItdrPtLS","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:07Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:07Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:10 GMT'] - fastly-ratelimit-remaining: ['440'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:07 GMT'] + fastly-ratelimit-remaining: ['758'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666610.890228,VS0,VE469'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692707.662178,VS0,VE474'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/header + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"W67dUX94XzwZ984qghMvY","version":"2","updated_at":"2018-05-30T07:50:10Z","deleted_at":null,"created_at":"2018-05-30T07:50:10Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6QtbuNzxWZQy6sItdrPtLS","version":"2","updated_at":"2018-05-30T15:05:07Z","deleted_at":null,"created_at":"2018-05-30T15:05:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['412'] + content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:10 GMT'] - fastly-ratelimit-remaining: ['439'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:07 GMT'] + fastly-ratelimit-remaining: ['757'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666610.419970,VS0,VE176'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692707.194471,VS0,VE424'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -476,87 +499,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/response_object + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"W67dUX94XzwZ984qghMvY","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:10Z","updated_at":"2018-05-30T07:50:10Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6QtbuNzxWZQy6sItdrPtLS","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:07Z","updated_at":"2018-05-30T15:05:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:10 GMT'] - fastly-ratelimit-remaining: ['438'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:07 GMT'] + fastly-ratelimit-remaining: ['756'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666611.657763,VS0,VE168'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692708.745328,VS0,VE181'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 1000}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/settings + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"W67dUX94XzwZ984qghMvY"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6QtbuNzxWZQy6sItdrPtLS"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['193'] + content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:11 GMT'] - fastly-ratelimit-remaining: ['437'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:08 GMT'] + fastly-ratelimit-remaining: ['755'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666611.886740,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692708.988361,VS0,VE184'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/version/2/activate + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:10Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:07Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:12 GMT'] - fastly-ratelimit-remaining: ['436'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:05:08 GMT'] + fastly-ratelimit-remaining: ['754'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666611.093923,VS0,VE985'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692708.227819,VS0,VE664'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/details + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:11Z","deployed":false}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -564,16 +587,16 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3988'] + content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:12 GMT'] + date: ['Wed, 30 May 2018 15:05:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666612.136523,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692709.950488,VS0,VE147'] status: {code: 200, message: OK} - request: body: null @@ -582,33 +605,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","comment":""}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":""}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:12 GMT'] + date: ['Wed, 30 May 2018 15:05:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666612.361684,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692709.156574,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/details + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:11Z","deployed":false}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -616,27 +638,27 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3988'] + content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:12 GMT'] + date: ['Wed, 30 May 2018 15:05:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666613.562975,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692709.368769,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/W67dUX94XzwZ984qghMvY/details + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"W67dUX94XzwZ984qghMvY","staging":false,"created_at":"2018-05-30T07:50:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:11Z","deployed":false}],"created_at":"2018-05-30T07:50:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:05Z","id":"W67dUX94XzwZ984qghMvY","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:11Z","active":true,"number":2,"service_id":"W67dUX94XzwZ984qghMvY","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:06Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -644,15 +666,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3988'] + content-length: ['3993'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:12 GMT'] + date: ['Wed, 30 May 2018 15:05:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666613.742195,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692710.546279,VS0,VE123'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml b/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml index 2d5f363..dfc6992 100644 --- a/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml @@ -6,85 +6,86 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","comment":""}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['914'] + content-length: ['918'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:41 GMT'] + date: ['Wed, 30 May 2018 15:06:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666641.452448,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692774.087568,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"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:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4847'] + content-length: ['4853'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:41 GMT'] + date: ['Wed, 30 May 2018 15:06:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666642.661013,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692774.293177,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/deactivate + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['230'] + content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:42 GMT'] - fastly-ratelimit-remaining: ['402'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:14 GMT'] + fastly-ratelimit-remaining: ['685'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666642.839967,VS0,VE516'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692774.467543,VS0,VE470'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2 response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -93,15 +94,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:42 GMT'] - fastly-ratelimit-remaining: ['401'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:15 GMT'] + fastly-ratelimit-remaining: ['684'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666642.416860,VS0,VE133'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692775.996385,VS0,VE160'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml b/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml index 58c64a0..4982c3c 100644 --- a/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml +++ b/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml @@ -6,105 +6,105 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","comment":""}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['686'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:31 GMT'] + date: ['Wed, 30 May 2018 15:06:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666631.452456,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692762.301386,VS0,VE154'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:30Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","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:50:30Z","active":true,"number":2,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","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:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4042'] + content-length: ['4047'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:31 GMT'] + date: ['Wed, 30 May 2018 15:06:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666632.662682,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692763.509707,VS0,VE379'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/2/clone + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:30Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:32 GMT'] - fastly-ratelimit-remaining: ['414'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:03 GMT'] + fastly-ratelimit-remaining: ['697'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666632.842512,VS0,VE478'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692763.946765,VS0,VE488'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/domain + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","created_at":"2018-05-30T07:50:28Z","comment":"","updated_at":"2018-05-30T07:50:28Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","created_at":"2018-05-30T15:05:59Z","comment":"","updated_at":"2018-05-30T15:05:59Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['180'] + content-length: ['181'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:32 GMT'] + date: ['Wed, 30 May 2018 15:06:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666632.378248,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692763.495676,VS0,VE388'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/healthcheck + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:32 GMT'] + date: ['Wed, 30 May 2018 15:06:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666633.561664,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692764.941706,VS0,VE417'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/condition + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -138,45 +138,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:33 GMT'] + date: ['Wed, 30 May 2018 15:06:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666633.745976,VS0,VE391'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692764.410746,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/backend + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:50:28Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:50:28Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:05:59Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:05:59Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['717'] + content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:33 GMT'] + date: ['Wed, 30 May 2018 15:06:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666633.197914,VS0,VE459'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692765.592990,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/director + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:34 GMT'] + date: ['Wed, 30 May 2018 15:06:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666634.713609,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692765.781680,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/cache_settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:34 GMT'] + date: ['Wed, 30 May 2018 15:06:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666634.157351,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692765.964002,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/gzip + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -234,46 +234,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:34 GMT'] + date: ['Wed, 30 May 2018 15:06:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666634.336955,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692765.145756,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/header + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"qvsKnmSfExOg9cWUIvCNS","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:50:28Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:50:28Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"7OAhzqSh0dQSAyFB213yD2","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:05:59Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:05:59Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['414'] + content-length: ['415'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:34 GMT'] + date: ['Wed, 30 May 2018 15:06:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666635.530118,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692765.324612,VS0,VE388'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/request_settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -283,46 +283,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:34 GMT'] + date: ['Wed, 30 May 2018 15:06:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666635.749911,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692766.769583,VS0,VE384'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/response_object + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"Hello from Fastly","deleted_at":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","cache_condition":"","created_at":"2018-05-30T07:50:29Z","content_type":"text/plain","request_condition":"","updated_at":"2018-05-30T07:50:29Z"}]'} + 200 status code","content":"Hello from Fastly","deleted_at":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","cache_condition":"","created_at":"2018-05-30T15:06:00Z","content_type":"text/plain","request_condition":"","updated_at":"2018-05-30T15:06:00Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['306'] + content-length: ['307'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:35 GMT'] + date: ['Wed, 30 May 2018 15:06:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666635.940514,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692766.210458,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/snippet + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -332,21 +332,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:35 GMT'] + date: ['Wed, 30 May 2018 15:06:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666635.135684,VS0,VE135'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692766.387036,VS0,VE387'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/logging/s3 + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -356,21 +356,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:35 GMT'] + date: ['Wed, 30 May 2018 15:06:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666635.329207,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692767.829942,VS0,VE122'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:06:07 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692767.009232,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/domain/example8000.com + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -379,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:36 GMT'] - fastly-ratelimit-remaining: ['413'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:07 GMT'] + fastly-ratelimit-remaining: ['696'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666636.808973,VS0,VE438'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692767.195218,VS0,VE458'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/backend/localhost + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -404,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:36 GMT'] - fastly-ratelimit-remaining: ['412'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:08 GMT'] + fastly-ratelimit-remaining: ['695'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666636.308068,VS0,VE196'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692768.712629,VS0,VE435'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -429,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:36 GMT'] - fastly-ratelimit-remaining: ['411'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:08 GMT'] + fastly-ratelimit-remaining: ['694'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666637.563372,VS0,VE429'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692768.206567,VS0,VE428'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -454,99 +478,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:37 GMT'] - fastly-ratelimit-remaining: ['410'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:09 GMT'] + fastly-ratelimit-remaining: ['693'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666637.052800,VS0,VE178'] + x-timer: ['S1527692769.693788,VS0,VE440'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/domain + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"qvsKnmSfExOg9cWUIvCNS","version":3,"deleted_at":null,"created_at":"2018-05-30T07:50:37Z","updated_at":"2018-05-30T07:50:37Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7OAhzqSh0dQSAyFB213yD2","version":3,"deleted_at":null,"created_at":"2018-05-30T15:06:09Z","updated_at":"2018-05-30T15:06:09Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['178'] + content-length: ['179'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:37 GMT'] - fastly-ratelimit-remaining: ['409'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:09 GMT'] + fastly-ratelimit-remaining: ['692'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666637.292732,VS0,VE474'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692769.191657,VS0,VE568'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/backend + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:50:37Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:50:37Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:06:10Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:06:10Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:38 GMT'] - fastly-ratelimit-remaining: ['408'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:10 GMT'] + fastly-ratelimit-remaining: ['691'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666638.853149,VS0,VE215'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692770.813668,VS0,VE470'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/header + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"qvsKnmSfExOg9cWUIvCNS","version":"3","updated_at":"2018-05-30T07:50:38Z","deleted_at":null,"created_at":"2018-05-30T07:50:38Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":"3","updated_at":"2018-05-30T15:06:10Z","deleted_at":null,"created_at":"2018-05-30T15:06:10Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['412'] + content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:38 GMT'] - fastly-ratelimit-remaining: ['407'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:10 GMT'] + fastly-ratelimit-remaining: ['690'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666638.129325,VS0,VE465'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692770.338337,VS0,VE152'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -554,139 +578,139 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/response_object + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"qvsKnmSfExOg9cWUIvCNS","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:50:39Z","updated_at":"2018-05-30T07:50:39Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7OAhzqSh0dQSAyFB213yD2","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:06:10Z","updated_at":"2018-05-30T15:06:10Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:39 GMT'] - fastly-ratelimit-remaining: ['406'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:10 GMT'] + fastly-ratelimit-remaining: ['689'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666639.657252,VS0,VE436'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692771.548133,VS0,VE154'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"content": "\n if (resp.status >= 500 && resp.status < 600) {\n if (stale.exists) {\n restart;\n }\n }\n ", - "type": "deliver", "dynamic": 0, "name": "Deliver stale content", "priority": + "dynamic": 0, "type": "deliver", "name": "Deliver stale content", "priority": 100}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/snippet + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/snippet response: body: {string: !!python/unicode '{"content":"\n if (resp.status \u003e= 500 \u0026\u0026 resp.status \u003c 600) {\n if (stale.exists) - {\n restart;\n }\n }\n ","type":"deliver","dynamic":0,"name":"Deliver - stale content","priority":100,"service_id":"qvsKnmSfExOg9cWUIvCNS","version":"3","deleted_at":null,"created_at":"2018-05-30T07:50:39Z","updated_at":"2018-05-30T07:50:39Z","id":"18Spihr0RSdGKQCGnm5wMS"}'} + {\n restart;\n }\n }\n ","dynamic":0,"type":"deliver","name":"Deliver + stale content","priority":100,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":"3","deleted_at":null,"created_at":"2018-05-30T15:06:11Z","updated_at":"2018-05-30T15:06:11Z","id":"7hOi0dRGR2OJ79kBLJYdXs"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['451'] + content-length: ['452'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:39 GMT'] - fastly-ratelimit-remaining: ['405'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:11 GMT'] + fastly-ratelimit-remaining: ['688'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666639.153719,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692771.761676,VS0,VE434'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"qvsKnmSfExOg9cWUIvCNS"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['193'] + content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:39 GMT'] - fastly-ratelimit-remaining: ['404'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:11 GMT'] + fastly-ratelimit-remaining: ['687'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666640.642826,VS0,VE192'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692771.251318,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/version/3/activate + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:39Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:11Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:40 GMT'] - fastly-ratelimit-remaining: ['403'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:06:12 GMT'] + fastly-ratelimit-remaining: ['686'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666640.895677,VS0,VE608'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692772.784834,VS0,VE915'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"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:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4847'] + content-length: ['4853'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:40 GMT'] + date: ['Wed, 30 May 2018 15:06:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666641.564074,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692773.757282,VS0,VE419'] status: {code: 200, message: OK} - request: body: null @@ -695,85 +719,85 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","comment":""}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['914'] + content-length: ['918'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:40 GMT'] + date: ['Wed, 30 May 2018 15:06:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666641.773986,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692773.237672,VS0,VE431'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"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:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4847'] + content-length: ['4853'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:41 GMT'] + date: ['Wed, 30 May 2018 15:06:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666641.978639,VS0,VE162'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692774.725454,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/qvsKnmSfExOg9cWUIvCNS/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"qvsKnmSfExOg9cWUIvCNS","staging":false,"created_at":"2018-05-30T07:50:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:50:40Z","deployed":false}],"created_at":"2018-05-30T07:50:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:50:23Z","id":"qvsKnmSfExOg9cWUIvCNS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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:50:40Z","active":true,"number":3,"service_id":"qvsKnmSfExOg9cWUIvCNS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:50:32Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"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:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"18Spihr0RSdGKQCGnm5wMS"}],"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}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4847'] + content-length: ['4853'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:50:41 GMT'] + date: ['Wed, 30 May 2018 15:06:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666641.200329,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692774.895982,VS0,VE118'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/tearDown b/tests/fixtures/cassettes/tearDown index c3e1677..02b33e8 100644 --- a/tests/fixtures/cassettes/tearDown +++ b/tests/fixtures/cassettes/tearDown @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:14Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:21Z","active":true,"number":3,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:13Z","comment":""}],"created_at":"2018-05-30T07:24:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:24:14Z","id":"3Xyb2lS5WQ74LSqlfBKJXM"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":""}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,23 +14,23 @@ interactions: connection: [keep-alive] content-length: ['925'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:21 GMT'] + date: ['Wed, 30 May 2018 15:02:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666442.814775,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692541.173844,VS0,VE432'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/details + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:14Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:47:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:21Z","deployed":false}],"created_at":"2018-05-30T07:24:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:24:14Z","id":"3Xyb2lS5WQ74LSqlfBKJXM","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:21Z","active":true,"number":3,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:47:21Z","active":true,"number":3,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:20Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -38,46 +38,46 @@ interactions: connection: [keep-alive] content-length: ['3544'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:22 GMT'] + date: ['Wed, 30 May 2018 15:02:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666442.025406,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692542.664187,VS0,VE111'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/deactivate + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:47:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:21Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:20Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:22 GMT'] - fastly-ratelimit-remaining: ['617'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:22 GMT'] + fastly-ratelimit-remaining: ['935'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666442.202413,VS0,VE503'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692542.828083,VS0,VE513'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0 response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -86,15 +86,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:23 GMT'] - fastly-ratelimit-remaining: ['616'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:22 GMT'] + fastly-ratelimit-remaining: ['934'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666443.766428,VS0,VE475'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692542.398072,VS0,VE434'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert b/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert index f77824c..a3ed86d 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert +++ b/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:14Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false}],"created_at":"2018-05-30T07:24:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:24:14Z","id":"3Xyb2lS5WQ74LSqlfBKJXM"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,23 +14,23 @@ interactions: connection: [keep-alive] content-length: ['694'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:12 GMT'] + date: ['Wed, 30 May 2018 15:02:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666433.516747,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692530.174583,VS0,VE418'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/details + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:14Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false}],"created_at":"2018-05-30T07:24:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:24:14Z","id":"3Xyb2lS5WQ74LSqlfBKJXM","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:24:21Z","active":false,"number":2,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:24: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T14:40:24Z","active":false,"number":2,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T14:40: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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":null}'} headers: @@ -40,48 +40,48 @@ interactions: connection: [keep-alive] content-length: ['2376'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:12 GMT'] + date: ['Wed, 30 May 2018 15:02:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666433.709262,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692531.648692,VS0,VE2152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/2/clone + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:13 GMT'] - fastly-ratelimit-remaining: ['626'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:13 GMT'] + fastly-ratelimit-remaining: ['944'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666433.925106,VS0,VE498'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692533.856283,VS0,VE489'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/domain + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","created_at":"2018-05-30T07:24:20Z","comment":"test1","updated_at":"2018-05-30T07:24:20Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","created_at":"2018-05-30T14:40:23Z","comment":"test1","updated_at":"2018-05-30T14:40:23Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -89,21 +89,21 @@ interactions: connection: [keep-alive] content-length: ['190'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:13 GMT'] + date: ['Wed, 30 May 2018 15:02:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666433.477906,VS0,VE429'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692533.404113,VS0,VE145'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/healthcheck + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:14 GMT'] + date: ['Wed, 30 May 2018 15:02:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666434.965190,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692534.602631,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/condition + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -137,23 +137,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:14 GMT'] + date: ['Wed, 30 May 2018 15:02:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666434.141197,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692534.786660,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/backend + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:24:20Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:24:20Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T14:40:23Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T14:40:23Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -161,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:14 GMT'] + date: ['Wed, 30 May 2018 15:02:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666434.326252,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692534.253429,VS0,VE449'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/director + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:14 GMT'] + date: ['Wed, 30 May 2018 15:02:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666435.513481,VS0,VE423'] + x-timer: ['S1527692535.766080,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/cache_settings + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:15 GMT'] + date: ['Wed, 30 May 2018 15:02:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666435.994933,VS0,VE389'] + x-timer: ['S1527692535.980747,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/gzip + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -233,24 +233,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:15 GMT'] + date: ['Wed, 30 May 2018 15:02:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666435.443409,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692535.424133,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/header + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3Xyb2lS5WQ74LSqlfBKJXM","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:24:20Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:24:20Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"2uKIal1ukEDTfTuaWrjxF0","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T14:40:24Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T14:40:24Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:15 GMT'] + date: ['Wed, 30 May 2018 15:02:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666436.625327,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692536.615633,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/request_settings + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -282,24 +282,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:16 GMT'] + date: ['Wed, 30 May 2018 15:02:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666436.847482,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692536.794155,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/response_object + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","cache_condition":"","created_at":"2018-05-30T07:24:21Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:24:21Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","cache_condition":"","created_at":"2018-05-30T14:40:24Z","content_type":"","request_condition":"","updated_at":"2018-05-30T14:40:24Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -307,21 +307,45 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:16 GMT'] + date: ['Wed, 30 May 2018 15:02:16 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692536.970441,VS0,VE127'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666436.332565,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692536.155048,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/snippet + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -331,21 +355,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:16 GMT'] + date: ['Wed, 30 May 2018 15:02:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666437.733941,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692536.343651,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/logging/s3 + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -355,21 +379,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:17 GMT'] + date: ['Wed, 30 May 2018 15:02:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666437.908779,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692537.531078,VS0,VE162'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -378,23 +402,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:17 GMT'] - fastly-ratelimit-remaining: ['625'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:17 GMT'] + fastly-ratelimit-remaining: ['943'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666437.088333,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692537.753013,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/backend/localhost + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -403,23 +427,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:18 GMT'] - fastly-ratelimit-remaining: ['624'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:17 GMT'] + fastly-ratelimit-remaining: ['942'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666438.578771,VS0,VE477'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692537.237397,VS0,VE437'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -428,23 +452,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:18 GMT'] - fastly-ratelimit-remaining: ['623'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:17 GMT'] + fastly-ratelimit-remaining: ['941'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666438.114697,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692538.727312,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -453,104 +477,104 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:19 GMT'] - fastly-ratelimit-remaining: ['622'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:18 GMT'] + fastly-ratelimit-remaining: ['940'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666439.614004,VS0,VE475'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692538.947760,VS0,VE433'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/domain + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3Xyb2lS5WQ74LSqlfBKJXM","version":3,"deleted_at":null,"created_at":"2018-05-30T07:47:19Z","updated_at":"2018-05-30T07:47:19Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"2uKIal1ukEDTfTuaWrjxF0","version":3,"deleted_at":null,"created_at":"2018-05-30T15:02:18Z","updated_at":"2018-05-30T15:02:18Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:19 GMT'] - fastly-ratelimit-remaining: ['621'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:18 GMT'] + fastly-ratelimit-remaining: ['939'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666439.148196,VS0,VE334'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692538.434545,VS0,VE495'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "my-backend.example.net", "weight": 100, "healthcheck": null, "first_byte_timeout": - 15000, "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, - "address": "my-backend.example.net", "between_bytes_timeout": 10000, "max_conn": - 200, "port": 443, "ssl_hostname": "my-backend.example.net", "shield": null}' + 15000, "error_threshold": 0, "port": 443, "ssl_cert_hostname": null, "address": + "my-backend.example.net", "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": + 1000, "ssl_hostname": "my-backend.example.net", "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/backend + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend.example.net","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend.example.net","between_bytes_timeout":10000,"max_conn":200,"port":443,"ssl_hostname":"my-backend.example.net","shield":null,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend.example.net","client_cert":null,"updated_at":"2018-05-30T07:47:19Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":true,"created_at":"2018-05-30T07:47:19Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend.example.net","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":443,"ssl_cert_hostname":null,"address":"my-backend.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":"my-backend.example.net","shield":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend.example.net","client_cert":null,"updated_at":"2018-05-30T15:02:19Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":true,"created_at":"2018-05-30T15:02:19Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['775'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:19 GMT'] - fastly-ratelimit-remaining: ['620'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:19 GMT'] + fastly-ratelimit-remaining: ['938'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666440.545117,VS0,VE442'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692539.981909,VS0,VE444'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/settings + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2uKIal1ukEDTfTuaWrjxF0"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:20 GMT'] - fastly-ratelimit-remaining: ['619'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:19 GMT'] + fastly-ratelimit-remaining: ['937'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666440.047057,VS0,VE474'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692539.480392,VS0,VE290'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/version/3/activate + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:47:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:19Z","deployed":false,"msg":"Warning: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:19Z","deployed":false,"msg":"Warning: Backend host `my-backend.example.net` could not be resolved to an IP address: Name or service not known\nat: (input Line 12 Pos 6)\n .host = \"my-backend.example.net\";\n-----####----------------------------"}'} headers: @@ -559,25 +583,25 @@ interactions: connection: [keep-alive] content-length: ['458'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:21 GMT'] - fastly-ratelimit-remaining: ['618'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:20 GMT'] + fastly-ratelimit-remaining: ['936'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666441.581618,VS0,VE929'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692540.829317,VS0,VE1063'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3Xyb2lS5WQ74LSqlfBKJXM/details + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:14Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:24:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:24:21Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","staging":false,"created_at":"2018-05-30T07:47:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:21Z","deployed":false}],"created_at":"2018-05-30T07:24:14Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:24:14Z","id":"3Xyb2lS5WQ74LSqlfBKJXM","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:21Z","active":true,"number":3,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:47:21Z","active":true,"number":3,"service_id":"3Xyb2lS5WQ74LSqlfBKJXM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:20Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -585,13 +609,13 @@ interactions: connection: [keep-alive] content-length: ['3544'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:21 GMT'] + date: ['Wed, 30 May 2018 15:02:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666442.573711,VS0,VE165'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692541.947985,VS0,VE151'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_port_not_required b/tests/fixtures/cassettes/test_fastly_backend_port_not_required index 2372b79..2f8ce49 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_port_not_required +++ b/tests/fixtures/cassettes/test_fastly_backend_port_not_required @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:23 GMT'] + date: ['Wed, 30 May 2018 15:02:23 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666443.310203,VS0,VE165'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692543.901196,VS0,VE122'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -32,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"e1fed026cbc6a5b2cf6c04d6d2ab64f1093097f8","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:47:23Z","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + Fastly Ansible Module Test","publish_key":"d478db778729366f9e819fed0dcdff526619d976","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:02:23Z","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['518'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:23 GMT'] - fastly-ratelimit-remaining: ['615'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:23 GMT'] + fastly-ratelimit-remaining: ['933'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666444.534733,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692543.076768,VS0,VE440'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:23Z","active":false,"number":1,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:47:23Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:23Z","active":false,"number":1,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:02:23Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1113'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:24 GMT'] + date: ['Wed, 30 May 2018 15:02:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666444.735764,VS0,VE441'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692544.575613,VS0,VE197'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/1/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:24 GMT'] - fastly-ratelimit-remaining: ['614'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:24 GMT'] + fastly-ratelimit-remaining: ['932'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666444.236193,VS0,VE573'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692544.831735,VS0,VE489'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:25 GMT'] + date: ['Wed, 30 May 2018 15:02:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666445.868941,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692544.370340,VS0,VE433'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:25 GMT'] + date: ['Wed, 30 May 2018 15:02:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666445.103378,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692545.860866,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:25 GMT'] + date: ['Wed, 30 May 2018 15:02:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666445.291524,VS0,VE171'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692545.044839,VS0,VE388'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:25 GMT'] + date: ['Wed, 30 May 2018 15:02:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666446.523069,VS0,VE169'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692545.488200,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:26 GMT'] + date: ['Wed, 30 May 2018 15:02:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666446.750957,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692546.934422,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:26 GMT'] + date: ['Wed, 30 May 2018 15:02:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666446.244565,VS0,VE165'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692546.116650,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:26 GMT'] + date: ['Wed, 30 May 2018 15:02:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666446.472286,VS0,VE460'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692547.560726,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:27 GMT'] + date: ['Wed, 30 May 2018 15:02:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666447.991281,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692547.743312,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:27 GMT'] + date: ['Wed, 30 May 2018 15:02:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666448.500124,VS0,VE175'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692547.925362,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:28 GMT'] + date: ['Wed, 30 May 2018 15:02:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666448.734161,VS0,VE387'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692547.109645,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:28 GMT'] + date: ['Wed, 30 May 2018 15:02:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666448.178717,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692547.292581,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,97 +378,121 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:28 GMT'] + date: ['Wed, 30 May 2018 15:02:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666448.361897,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692547.467854,VS0,VE390'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02:28 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692548.916676,VS0,VE120'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":2,"deleted_at":null,"created_at":"2018-05-30T07:47:28Z","updated_at":"2018-05-30T07:47:28Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":2,"deleted_at":null,"created_at":"2018-05-30T15:02:28Z","updated_at":"2018-05-30T15:02:28Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:28 GMT'] - fastly-ratelimit-remaining: ['613'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:28 GMT'] + fastly-ratelimit-remaining: ['931'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666449.582754,VS0,VE240'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692548.093940,VS0,VE280'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:47:29Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:29Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:28Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:28Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:29 GMT'] - fastly-ratelimit-remaining: ['612'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:28 GMT'] + fastly-ratelimit-remaining: ['930'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666449.881496,VS0,VE443'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692548.429189,VS0,VE466'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"2","updated_at":"2018-05-30T07:47:29Z","deleted_at":null,"created_at":"2018-05-30T07:47:29Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"2","updated_at":"2018-05-30T15:02:29Z","deleted_at":null,"created_at":"2018-05-30T15:02:29Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:29 GMT'] - fastly-ratelimit-remaining: ['611'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:29 GMT'] + fastly-ratelimit-remaining: ['929'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666449.384544,VS0,VE482'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692549.951483,VS0,VE212'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -476,87 +500,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:47:30Z","updated_at":"2018-05-30T07:47:30Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:29Z","updated_at":"2018-05-30T15:02:29Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:30 GMT'] - fastly-ratelimit-remaining: ['610'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:29 GMT'] + fastly-ratelimit-remaining: ['928'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666450.927393,VS0,VE200'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692549.218170,VS0,VE480'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:30 GMT'] - fastly-ratelimit-remaining: ['609'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:29 GMT'] + fastly-ratelimit-remaining: ['927'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666450.186608,VS0,VE506'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692550.757471,VS0,VE180'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:30Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:29Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:31 GMT'] - fastly-ratelimit-remaining: ['608'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:30 GMT'] + fastly-ratelimit-remaining: ['926'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666451.753659,VS0,VE900'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692550.992594,VS0,VE895'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:31Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:31Z","active":true,"number":2,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:30Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:47:31Z","active":true,"number":2,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -566,13 +590,13 @@ interactions: connection: [keep-alive] content-length: ['4005'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:31 GMT'] + date: ['Wed, 30 May 2018 15:02:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666452.712680,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692551.945609,VS0,VE144'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_weight_even b/tests/fixtures/cassettes/test_fastly_backend_weight_even index c776ff7..ce34e49 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_weight_even +++ b/tests/fixtures/cassettes/test_fastly_backend_weight_even @@ -6,32 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:31Z","active":true,"number":2,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:24Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['692'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:32 GMT'] + date: ['Wed, 30 May 2018 15:02:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666452.991830,VS0,VE457'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692551.198982,VS0,VE150'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:31Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:31Z","active":true,"number":2,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:30Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:47:31Z","active":true,"number":2,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -41,48 +41,48 @@ interactions: connection: [keep-alive] content-length: ['4005'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:32 GMT'] + date: ['Wed, 30 May 2018 15:02:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666453.508184,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692551.406088,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/2/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:31Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:30Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:33 GMT'] - fastly-ratelimit-remaining: ['607'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:32 GMT'] + fastly-ratelimit-remaining: ['925'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666453.727093,VS0,VE501'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692552.630363,VS0,VE467'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:47:28Z","comment":"","updated_at":"2018-05-30T07:47:28Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:28Z","comment":"","updated_at":"2018-05-30T15:02:28Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -90,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:33 GMT'] + date: ['Wed, 30 May 2018 15:02:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666453.287315,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692552.159970,VS0,VE394'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:33 GMT'] + date: ['Wed, 30 May 2018 15:02:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666454.510069,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692553.609486,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -138,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:34 GMT'] + date: ['Wed, 30 May 2018 15:02:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666454.980700,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692553.796463,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:47:29Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:29Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:28Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:28Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:34 GMT'] + date: ['Wed, 30 May 2018 15:02:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666454.167143,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692553.977432,VS0,VE427'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:34 GMT'] + date: ['Wed, 30 May 2018 15:02:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666455.659509,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692553.457935,VS0,VE452'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:34 GMT'] + date: ['Wed, 30 May 2018 15:02:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666455.839782,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692554.970004,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -234,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:35 GMT'] + date: ['Wed, 30 May 2018 15:02:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666455.015436,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692554.141905,VS0,VE142'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"5NBQfakHXxmBXM0q9qtZ0S","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:47:29Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:47:29Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:29Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:29Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -259,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:35 GMT'] + date: ['Wed, 30 May 2018 15:02:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666455.199330,VS0,VE451'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692554.342899,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -283,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:35 GMT'] + date: ['Wed, 30 May 2018 15:02:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666456.716223,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692555.538933,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","cache_condition":"","created_at":"2018-05-30T07:47:30Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:47:30Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:02:29Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:29Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -308,21 +308,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:36 GMT'] + date: ['Wed, 30 May 2018 15:02:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666456.893146,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692555.727096,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -332,21 +332,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:36 GMT'] + date: ['Wed, 30 May 2018 15:02:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666456.085705,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692555.918298,VS0,VE390'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -356,21 +356,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:36 GMT'] + date: ['Wed, 30 May 2018 15:02:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666456.273176,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692555.364189,VS0,VE409'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02:35 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692556.836686,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -379,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:36 GMT'] - fastly-ratelimit-remaining: ['606'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:36 GMT'] + fastly-ratelimit-remaining: ['924'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666456.467777,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692556.013840,VS0,VE441'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/backend/localhost + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -404,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:37 GMT'] - fastly-ratelimit-remaining: ['605'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:36 GMT'] + fastly-ratelimit-remaining: ['923'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666457.983053,VS0,VE441'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692557.511444,VS0,VE472'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -429,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:37 GMT'] - fastly-ratelimit-remaining: ['604'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:37 GMT'] + fastly-ratelimit-remaining: ['922'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666457.483553,VS0,VE182'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692557.042384,VS0,VE430'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -454,133 +478,133 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:37 GMT'] - fastly-ratelimit-remaining: ['603'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:37 GMT'] + fastly-ratelimit-remaining: ['921'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666458.725618,VS0,VE211'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692558.534101,VS0,VE161'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":3,"deleted_at":null,"created_at":"2018-05-30T07:47:38Z","updated_at":"2018-05-30T07:47:38Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":3,"deleted_at":null,"created_at":"2018-05-30T15:02:37Z","updated_at":"2018-05-30T15:02:37Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:38 GMT'] - fastly-ratelimit-remaining: ['602'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:38 GMT'] + fastly-ratelimit-remaining: ['920'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666458.996487,VS0,VE209'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692558.754494,VS0,VE250'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "my-backend1.example.net", "weight": 50, "healthcheck": null, "first_byte_timeout": - 15000, "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, - "address": "my-backend1.example.net", "between_bytes_timeout": 10000, "max_conn": - 200, "port": 80, "ssl_hostname": null, "shield": null}' + 15000, "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": + "my-backend1.example.net", "between_bytes_timeout": 10000, "max_conn": 200, + "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend1.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend1.example.net","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","client_cert":null,"updated_at":"2018-05-30T07:47:38Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:38Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend1.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"my-backend1.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","client_cert":null,"updated_at":"2018-05-30T15:02:38Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['757'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:38 GMT'] - fastly-ratelimit-remaining: ['601'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:38 GMT'] + fastly-ratelimit-remaining: ['919'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666458.267779,VS0,VE442'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692558.063628,VS0,VE181'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "my-backend2.example.net", "weight": 50, "healthcheck": null, "first_byte_timeout": - 15000, "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, - "address": "my-backend2.example.net", "between_bytes_timeout": 10000, "max_conn": - 200, "port": 80, "ssl_hostname": null, "shield": null}' + 15000, "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": + "my-backend2.example.net", "between_bytes_timeout": 10000, "max_conn": 200, + "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend2.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend2.example.net","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","client_cert":null,"updated_at":"2018-05-30T07:47:39Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:39Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend2.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"my-backend2.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","client_cert":null,"updated_at":"2018-05-30T15:02:38Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['757'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:39 GMT'] - fastly-ratelimit-remaining: ['600'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:38 GMT'] + fastly-ratelimit-remaining: ['918'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666459.768537,VS0,VE433'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692558.304020,VS0,VE468'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:39 GMT'] - fastly-ratelimit-remaining: ['599'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:39 GMT'] + fastly-ratelimit-remaining: ['917'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666459.263043,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692559.829916,VS0,VE440'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:39Z","deployed":false,"msg":"Warning: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:38Z","deployed":false,"msg":"Warning: Backend host `my-backend1.example.net` could not be resolved to an IP address: Name or service not known\nat: (input Line 12 Pos 6)\n .host = \"my-backend1.example.net\";\n-----####-----------------------------\n\nWarning: Backend host `my-backend2.example.net` could not be resolved to an IP address: @@ -593,38 +617,39 @@ interactions: connection: [keep-alive] content-length: ['843'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:40 GMT'] - fastly-ratelimit-remaining: ['598'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:40 GMT'] + fastly-ratelimit-remaining: ['916'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666460.767170,VS0,VE1209'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692559.326521,VS0,VE910'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:40Z","active":true,"number":3,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:47:40Z","active":true,"number":3,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4743'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:41 GMT'] + date: ['Wed, 30 May 2018 15:02:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666461.036933,VS0,VE200'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692560.292628,VS0,VE150'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_domain_comment_not_required b/tests/fixtures/cassettes/test_fastly_domain_comment_not_required index d5f9195..29d04df 100644 --- a/tests/fixtures/cassettes/test_fastly_domain_comment_not_required +++ b/tests/fixtures/cassettes/test_fastly_domain_comment_not_required @@ -6,30 +6,31 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:40Z","active":true,"number":3,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:33Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['924'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:41 GMT'] + date: ['Wed, 30 May 2018 15:02:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666461.440506,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692561.620241,VS0,VE153'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:40Z","active":true,"number":3,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:47:40Z","active":true,"number":3,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -37,48 +38,48 @@ interactions: connection: [keep-alive] content-length: ['4743'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:41 GMT'] + date: ['Wed, 30 May 2018 15:02:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666462.642465,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692561.831442,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/3/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:42 GMT'] - fastly-ratelimit-remaining: ['597'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:41 GMT'] + fastly-ratelimit-remaining: ['915'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666462.826167,VS0,VE473'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692561.998629,VS0,VE211'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/domain response: - body: {string: !!python/unicode '[{"version":4,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:47:38Z","comment":"","updated_at":"2018-05-30T07:47:38Z"}]'} + body: {string: !!python/unicode '[{"version":4,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:37Z","comment":"","updated_at":"2018-05-30T15:02:37Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -86,21 +87,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:42 GMT'] + date: ['Wed, 30 May 2018 15:02:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666462.359322,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692561.268853,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -110,21 +111,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:42 GMT'] + date: ['Wed, 30 May 2018 15:02:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666463.543245,VS0,VE385'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692561.458358,VS0,VE391'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/condition response: body: {string: !!python/unicode '[]'} headers: @@ -134,23 +135,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:43 GMT'] + date: ['Wed, 30 May 2018 15:02:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666463.987482,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692562.910522,VS0,VE391'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend1.example.net","updated_at":"2018-05-30T07:47:38Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend1.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:38Z","comment":""},{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend2.example.net","updated_at":"2018-05-30T07:47:39Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend2.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:39Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend1.example.net","updated_at":"2018-05-30T15:02:38Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend1.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""},{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend2.example.net","updated_at":"2018-05-30T15:02:38Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend2.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -158,21 +159,21 @@ interactions: connection: [keep-alive] content-length: ['1517'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:43 GMT'] + date: ['Wed, 30 May 2018 15:02:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666463.172873,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692562.359680,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/director response: body: {string: !!python/unicode '[]'} headers: @@ -182,21 +183,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:43 GMT'] + date: ['Wed, 30 May 2018 15:02:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666463.369921,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692563.546690,VS0,VE391'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -206,21 +207,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:43 GMT'] + date: ['Wed, 30 May 2018 15:02:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666464.549911,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692563.996423,VS0,VE390'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -230,21 +231,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:43 GMT'] + date: ['Wed, 30 May 2018 15:02:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666464.772015,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692563.445921,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/header response: body: {string: !!python/unicode '[]'} headers: @@ -254,21 +255,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:44 GMT'] + date: ['Wed, 30 May 2018 15:02:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666464.988274,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692564.910931,VS0,VE126'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/request_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02:44 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692564.093715,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -278,21 +303,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:44 GMT'] + date: ['Wed, 30 May 2018 15:02:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666464.455618,VS0,VE119'] + x-timer: ['S1527692564.285967,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -302,21 +327,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:44 GMT'] + date: ['Wed, 30 May 2018 15:02:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666465.632976,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692564.475285,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -326,21 +351,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:44 GMT'] + date: ['Wed, 30 May 2018 15:02:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666465.809357,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692565.660159,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -350,21 +375,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:45 GMT'] + date: ['Wed, 30 May 2018 15:02:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666465.985924,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692565.835111,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -373,23 +398,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:45 GMT'] - fastly-ratelimit-remaining: ['596'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:45 GMT'] + fastly-ratelimit-remaining: ['914'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666465.180025,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692565.018878,VS0,VE491'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/backend/my-backend1.example.net + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend/my-backend1.example.net response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -398,23 +423,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:45 GMT'] - fastly-ratelimit-remaining: ['595'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:46 GMT'] + fastly-ratelimit-remaining: ['913'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666465.400910,VS0,VE460'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692566.570988,VS0,VE466'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/backend/my-backend2.example.net + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend/my-backend2.example.net response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -423,99 +448,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:46 GMT'] - fastly-ratelimit-remaining: ['594'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:46 GMT'] + fastly-ratelimit-remaining: ['912'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666466.920923,VS0,VE174'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692566.092996,VS0,VE167'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":4,"deleted_at":null,"created_at":"2018-05-30T07:47:46Z","updated_at":"2018-05-30T07:47:46Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":4,"deleted_at":null,"created_at":"2018-05-30T15:02:46Z","updated_at":"2018-05-30T15:02:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:46 GMT'] - fastly-ratelimit-remaining: ['593'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:46 GMT'] + fastly-ratelimit-remaining: ['911'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666466.155169,VS0,VE212'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692566.317319,VS0,VE201'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:47:46Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:46Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:46Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:46Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:46 GMT'] - fastly-ratelimit-remaining: ['592'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:46 GMT'] + fastly-ratelimit-remaining: ['910'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666466.427051,VS0,VE171'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692567.576730,VS0,VE169'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"4","updated_at":"2018-05-30T07:47:46Z","deleted_at":null,"created_at":"2018-05-30T07:47:46Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"4","updated_at":"2018-05-30T15:02:46Z","deleted_at":null,"created_at":"2018-05-30T15:02:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:46 GMT'] - fastly-ratelimit-remaining: ['591'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:46 GMT'] + fastly-ratelimit-remaining: ['909'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666467.658984,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692567.805344,VS0,VE154'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -523,87 +548,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:47:46Z","updated_at":"2018-05-30T07:47:46Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:47Z","updated_at":"2018-05-30T15:02:47Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:47 GMT'] - fastly-ratelimit-remaining: ['590'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:47 GMT'] + fastly-ratelimit-remaining: ['908'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666467.876545,VS0,VE162'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692567.019618,VS0,VE149'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:47 GMT'] - fastly-ratelimit-remaining: ['589'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:47 GMT'] + fastly-ratelimit-remaining: ['907'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666467.099317,VS0,VE185'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692567.227210,VS0,VE177'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:46Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:47Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:48 GMT'] - fastly-ratelimit-remaining: ['588'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:48 GMT'] + fastly-ratelimit-remaining: ['906'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666467.344955,VS0,VE915'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692567.464801,VS0,VE924'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:48Z","active":true,"number":4,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:47:48Z","active":true,"number":4,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -613,13 +638,13 @@ interactions: connection: [keep-alive] content-length: ['4469'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:48 GMT'] + date: ['Wed, 30 May 2018 15:02:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666468.319619,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692568.446109,VS0,VE156'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_action_not_required b/tests/fixtures/cassettes/test_fastly_header_action_not_required index 63fc36b..fde8b81 100644 --- a/tests/fixtures/cassettes/test_fastly_header_action_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_action_not_required @@ -6,33 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:48Z","active":true,"number":4,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:42Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['1156'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:48 GMT'] + date: ['Wed, 30 May 2018 15:02:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666469.605526,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692569.708574,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:48Z","active":true,"number":4,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:47:48Z","active":true,"number":4,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -42,48 +41,48 @@ interactions: connection: [keep-alive] content-length: ['4469'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:48 GMT'] + date: ['Wed, 30 May 2018 15:02:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666469.813585,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692569.175227,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/4/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:49 GMT'] - fastly-ratelimit-remaining: ['587'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:49 GMT'] + fastly-ratelimit-remaining: ['905'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666469.990287,VS0,VE470'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692569.350741,VS0,VE498'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/domain response: - body: {string: !!python/unicode '[{"version":5,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:47:46Z","comment":"","updated_at":"2018-05-30T07:47:46Z"}]'} + body: {string: !!python/unicode '[{"version":5,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:46Z","comment":"","updated_at":"2018-05-30T15:02:46Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:49 GMT'] + date: ['Wed, 30 May 2018 15:02:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666470.522464,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692570.909195,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:50 GMT'] + date: ['Wed, 30 May 2018 15:02:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666470.711750,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692570.381714,VS0,VE425'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:50 GMT'] + date: ['Wed, 30 May 2018 15:02:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666470.168712,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692571.864663,VS0,VE171'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:47:46Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":5,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:46Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:46Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":5,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:46Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:50 GMT'] + date: ['Wed, 30 May 2018 15:02:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666470.354910,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692571.093551,VS0,VE398'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:51 GMT'] + date: ['Wed, 30 May 2018 15:02:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666471.546192,VS0,VE465'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692572.548690,VS0,VE393'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:51 GMT'] + date: ['Wed, 30 May 2018 15:02:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666471.070622,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692572.999474,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:51 GMT'] + date: ['Wed, 30 May 2018 15:02:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666471.254939,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692572.447100,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"5NBQfakHXxmBXM0q9qtZ0S","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:47:46Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"5","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:47:46Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:46Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"5","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:46Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:51 GMT'] + date: ['Wed, 30 May 2018 15:02:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666472.725802,VS0,VE132'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692573.631027,VS0,VE438'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:52 GMT'] + date: ['Wed, 30 May 2018 15:02:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666472.919516,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692573.126838,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"5","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","cache_condition":"","created_at":"2018-05-30T07:47:46Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:47:46Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:02:47Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:47Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:52 GMT'] + date: ['Wed, 30 May 2018 15:02:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666472.106146,VS0,VE191'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692573.304864,VS0,VE172'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +332,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:52 GMT'] + date: ['Wed, 30 May 2018 15:02:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666472.355148,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692574.538008,VS0,VE167'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +356,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:52 GMT'] + date: ['Wed, 30 May 2018 15:02:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666473.539276,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692574.762135,VS0,VE166'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02:54 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692574.988032,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:52 GMT'] - fastly-ratelimit-remaining: ['586'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:54 GMT'] + fastly-ratelimit-remaining: ['904'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666473.720716,VS0,VE175'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692574.172307,VS0,VE458'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/backend/localhost + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:53 GMT'] - fastly-ratelimit-remaining: ['585'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:55 GMT'] + fastly-ratelimit-remaining: ['903'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666473.957394,VS0,VE464'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692575.685294,VS0,VE470'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/header/Set%20Location%20header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:53 GMT'] - fastly-ratelimit-remaining: ['584'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:55 GMT'] + fastly-ratelimit-remaining: ['902'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666473.483802,VS0,VE457'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692575.215428,VS0,VE432'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,99 +478,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:54 GMT'] - fastly-ratelimit-remaining: ['583'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:55 GMT'] + fastly-ratelimit-remaining: ['901'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666474.002254,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692576.700571,VS0,VE168'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":5,"deleted_at":null,"created_at":"2018-05-30T07:47:54Z","updated_at":"2018-05-30T07:47:54Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":5,"deleted_at":null,"created_at":"2018-05-30T15:02:56Z","updated_at":"2018-05-30T15:02:56Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:54 GMT'] - fastly-ratelimit-remaining: ['582'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:56 GMT'] + fastly-ratelimit-remaining: ['900'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666474.498109,VS0,VE208'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692576.930645,VS0,VE495'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":5,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:47:54Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:47:54Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":5,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:56Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:56Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:54 GMT'] - fastly-ratelimit-remaining: ['581'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:56 GMT'] + fastly-ratelimit-remaining: ['899'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666475.765029,VS0,VE177'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692576.485064,VS0,VE470'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"5","updated_at":"2018-05-30T07:47:55Z","deleted_at":null,"created_at":"2018-05-30T07:47:55Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"5","updated_at":"2018-05-30T15:02:57Z","deleted_at":null,"created_at":"2018-05-30T15:02:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:55 GMT'] - fastly-ratelimit-remaining: ['580'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:57 GMT'] + fastly-ratelimit-remaining: ['898'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666475.002656,VS0,VE419'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692577.011044,VS0,VE427'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -555,87 +578,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"5","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:47:55Z","updated_at":"2018-05-30T07:47:55Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"5","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:57Z","updated_at":"2018-05-30T15:02:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:55 GMT'] - fastly-ratelimit-remaining: ['579'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:57 GMT'] + fastly-ratelimit-remaining: ['897'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666475.481772,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692578.502119,VS0,VE424'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":5,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":5,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:56 GMT'] - fastly-ratelimit-remaining: ['578'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:58 GMT'] + fastly-ratelimit-remaining: ['896'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666476.974581,VS0,VE470'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692578.985678,VS0,VE515'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:55Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:57Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:57 GMT'] - fastly-ratelimit-remaining: ['577'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:02:59 GMT'] + fastly-ratelimit-remaining: ['895'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666477.504910,VS0,VE976'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692579.558396,VS0,VE847'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -645,13 +668,13 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:57 GMT'] + date: ['Wed, 30 May 2018 15:02:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666478.540898,VS0,VE163'] + x-timer: ['S1527692579.463061,VS0,VE441'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required b/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required index feb7f58..e38ea92 100644 --- a/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,53 +14,52 @@ interactions: connection: [keep-alive] content-length: ['1388'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:57 GMT'] + date: ['Wed, 30 May 2018 15:03:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666478.822804,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692580.016905,VS0,VE156'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:58 GMT'] + date: ['Wed, 30 May 2018 15:03:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666478.022906,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692580.226117,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -70,13 +69,13 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:58 GMT'] + date: ['Wed, 30 May 2018 15:03:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666478.201027,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692580.411011,VS0,VE122'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_priority_not_required b/tests/fixtures/cassettes/test_fastly_header_priority_not_required index 20956d8..ce06f39 100644 --- a/tests/fixtures/cassettes/test_fastly_header_priority_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_priority_not_required @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['1388'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:58 GMT'] + date: ['Wed, 30 May 2018 15:03:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666478.463853,VS0,VE144'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692581.627607,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -42,25 +42,25 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:58 GMT'] + date: ['Wed, 30 May 2018 15:03:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666479.666992,VS0,VE119'] + x-timer: ['S1527692581.838593,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -70,13 +70,13 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:58 GMT'] + date: ['Wed, 30 May 2018 15:03:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666479.845204,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692581.015028,VS0,VE161'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist b/tests/fixtures/cassettes/test_service_does_exist index cf562b9..518cb36 100644 --- a/tests/fixtures/cassettes/test_service_does_exist +++ b/tests/fixtures/cassettes/test_service_does_exist @@ -6,33 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['1388'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:59 GMT'] + date: ['Wed, 30 May 2018 15:03:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666479.113362,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692581.317972,VS0,VE146'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:47:57Z","active":true,"number":5,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 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:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -42,48 +41,48 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:47:59 GMT'] + date: ['Wed, 30 May 2018 15:03:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666479.318278,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692582.522991,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/5/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:00 GMT'] - fastly-ratelimit-remaining: ['576'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:02 GMT'] + fastly-ratelimit-remaining: ['894'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666480.535143,VS0,VE535'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692582.703685,VS0,VE497'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/domain response: - body: {string: !!python/unicode '[{"version":6,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:47:54Z","comment":"","updated_at":"2018-05-30T07:47:54Z"}]'} + body: {string: !!python/unicode '[{"version":6,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:56Z","comment":"","updated_at":"2018-05-30T15:02:56Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:00 GMT'] + date: ['Wed, 30 May 2018 15:03:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666480.129876,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692582.259903,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:00 GMT'] + date: ['Wed, 30 May 2018 15:03:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666481.596872,VS0,VE167'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692582.437898,VS0,VE451'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:00 GMT'] + date: ['Wed, 30 May 2018 15:03:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666481.823525,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692583.947035,VS0,VE135'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:47:54Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":6,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:47:54Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:56Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":6,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:56Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:01 GMT'] + date: ['Wed, 30 May 2018 15:03:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666481.011643,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692583.133192,VS0,VE568'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:01 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666481.239605,VS0,VE456'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692584.755876,VS0,VE250'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:02 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666482.749883,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692584.064042,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:02 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666482.210353,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692584.241129,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"5NBQfakHXxmBXM0q9qtZ0S","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:47:55Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"6","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:47:55Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:57Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"6","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:57Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:02 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666482.397733,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692584.418319,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:02 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666483.598522,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692585.598739,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"6","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","cache_condition":"","created_at":"2018-05-30T07:47:55Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:47:55Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:02:57Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:57Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:03 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666483.778167,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692585.786086,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +332,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:03 GMT'] + date: ['Wed, 30 May 2018 15:03:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666483.231873,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692585.963343,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +356,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:03 GMT'] + date: ['Wed, 30 May 2018 15:03:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666483.411484,VS0,VE422'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692585.151758,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:05 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692585.328626,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:04 GMT'] - fastly-ratelimit-remaining: ['575'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:05 GMT'] + fastly-ratelimit-remaining: ['893'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666484.918477,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692586.529222,VS0,VE468'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/backend/localhost + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:04 GMT'] - fastly-ratelimit-remaining: ['574'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:06 GMT'] + fastly-ratelimit-remaining: ['892'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666484.143268,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692586.056299,VS0,VE187'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/header/Set%20Location%20header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:05 GMT'] - fastly-ratelimit-remaining: ['573'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:06 GMT'] + fastly-ratelimit-remaining: ['891'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666485.633133,VS0,VE461'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692586.305760,VS0,VE449'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,99 +478,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:05 GMT'] - fastly-ratelimit-remaining: ['572'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:06 GMT'] + fastly-ratelimit-remaining: ['890'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666485.153252,VS0,VE458'] + x-timer: ['S1527692587.810957,VS0,VE181'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":6,"deleted_at":null,"created_at":"2018-05-30T07:48:06Z","updated_at":"2018-05-30T07:48:06Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":6,"deleted_at":null,"created_at":"2018-05-30T15:03:07Z","updated_at":"2018-05-30T15:03:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:06 GMT'] - fastly-ratelimit-remaining: ['571'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:07 GMT'] + fastly-ratelimit-remaining: ['889'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666486.671512,VS0,VE491'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692587.049889,VS0,VE209'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":6,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:48:06Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:48:06Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":6,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:07Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:07Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:06 GMT'] - fastly-ratelimit-remaining: ['570'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:07 GMT'] + fastly-ratelimit-remaining: ['888'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666486.223427,VS0,VE482'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692587.317867,VS0,VE169'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"6","updated_at":"2018-05-30T07:48:07Z","deleted_at":null,"created_at":"2018-05-30T07:48:07Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"6","updated_at":"2018-05-30T15:03:07Z","deleted_at":null,"created_at":"2018-05-30T15:03:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:07 GMT'] - fastly-ratelimit-remaining: ['569'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:07 GMT'] + fastly-ratelimit-remaining: ['887'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666487.767776,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692588.542777,VS0,VE163'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -555,104 +578,103 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"6","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:48:07Z","updated_at":"2018-05-30T07:48:07Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"6","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:08Z","updated_at":"2018-05-30T15:03:08Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:07 GMT'] - fastly-ratelimit-remaining: ['568'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:08 GMT'] + fastly-ratelimit-remaining: ['886'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666487.259673,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692588.762867,VS0,VE427'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":6,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":6,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:08 GMT'] - fastly-ratelimit-remaining: ['567'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:08 GMT'] + fastly-ratelimit-remaining: ['885'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666488.746701,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692588.248144,VS0,VE188'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":6,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:07Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:09 GMT'] - fastly-ratelimit-remaining: ['566'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:09 GMT'] + fastly-ratelimit-remaining: ['884'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666488.243872,VS0,VE908'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692588.495167,VS0,VE604'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:09Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:09Z","active":true,"number":6,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:59Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:09Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:48:09Z","active":true,"number":6,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:59Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4943'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:09 GMT'] + date: ['Wed, 30 May 2018 15:03:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666489.210520,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692589.156096,VS0,VE157'] status: {code: 200, message: OK} - request: body: null @@ -661,7 +683,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:09Z","active":true,"number":6,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:59Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -669,25 +691,25 @@ interactions: connection: [keep-alive] content-length: ['1620'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:09 GMT'] + date: ['Wed, 30 May 2018 15:03:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666489.422157,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692589.373291,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:09Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:09Z","active":true,"number":6,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:59Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:09Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:48:09Z","active":true,"number":6,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:47:59Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -696,48 +718,48 @@ interactions: connection: [keep-alive] content-length: ['4943'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:10 GMT'] + date: ['Wed, 30 May 2018 15:03:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666490.922099,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692590.580477,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/6/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:09Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:09Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:10 GMT'] - fastly-ratelimit-remaining: ['565'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:10 GMT'] + fastly-ratelimit-remaining: ['883'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666490.386973,VS0,VE483'] + x-timer: ['S1527692590.750579,VS0,VE478'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/domain response: - body: {string: !!python/unicode '[{"version":7,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:48:06Z","comment":"test1","updated_at":"2018-05-30T07:48:06Z"}]'} + body: {string: !!python/unicode '[{"version":7,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:03:07Z","comment":"test1","updated_at":"2018-05-30T15:03:07Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -745,21 +767,21 @@ interactions: connection: [keep-alive] content-length: ['190'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:11 GMT'] + date: ['Wed, 30 May 2018 15:03:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666491.931195,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692590.283472,VS0,VE387'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -769,21 +791,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:11 GMT'] + date: ['Wed, 30 May 2018 15:03:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666491.116153,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692591.725879,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/condition response: body: {string: !!python/unicode '[]'} headers: @@ -793,23 +815,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:11 GMT'] + date: ['Wed, 30 May 2018 15:03:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666491.299130,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692591.911755,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:48:06Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":7,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:48:06Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:03:07Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":7,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:03:07Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -817,21 +839,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:11 GMT'] + date: ['Wed, 30 May 2018 15:03:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666491.482805,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692591.090652,VS0,VE132'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/director response: body: {string: !!python/unicode '[]'} headers: @@ -841,21 +863,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:11 GMT'] + date: ['Wed, 30 May 2018 15:03:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666492.672499,VS0,VE169'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692591.281504,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -865,21 +887,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:12 GMT'] + date: ['Wed, 30 May 2018 15:03:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666492.902866,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692592.726111,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -889,24 +911,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:12 GMT'] + date: ['Wed, 30 May 2018 15:03:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666492.079522,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692592.911385,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"5NBQfakHXxmBXM0q9qtZ0S","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:48:07Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"7","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:48:07Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:03:07Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"7","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:03:07Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -914,21 +936,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:12 GMT'] + date: ['Wed, 30 May 2018 15:03:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666492.262267,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692592.092804,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -938,24 +960,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:13 GMT'] + date: ['Wed, 30 May 2018 15:03:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666493.729725,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692592.280464,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"7","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","cache_condition":"","created_at":"2018-05-30T07:48:07Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:48:07Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:03:08Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:03:08Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -963,21 +985,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:13 GMT'] + date: ['Wed, 30 May 2018 15:03:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666493.176800,VS0,VE123'] + x-timer: ['S1527692592.465500,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -987,21 +1009,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:13 GMT'] + date: ['Wed, 30 May 2018 15:03:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666493.361704,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692593.655234,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -1011,21 +1033,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:13 GMT'] + date: ['Wed, 30 May 2018 15:03:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666494.541371,VS0,VE411'] + x-timer: ['S1527692593.836317,VS0,VE411'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:13 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692593.308357,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1034,23 +1080,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:14 GMT'] - fastly-ratelimit-remaining: ['564'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:13 GMT'] + fastly-ratelimit-remaining: ['882'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666494.014699,VS0,VE177'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692593.488703,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/backend/localhost + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1059,23 +1105,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:14 GMT'] - fastly-ratelimit-remaining: ['563'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:14 GMT'] + fastly-ratelimit-remaining: ['881'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666494.255133,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692594.712585,VS0,VE473'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/header/Set%20Location%20header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1084,23 +1130,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:14 GMT'] - fastly-ratelimit-remaining: ['562'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:14 GMT'] + fastly-ratelimit-remaining: ['880'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666494.486715,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692594.247366,VS0,VE498'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1109,99 +1155,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:14 GMT'] - fastly-ratelimit-remaining: ['561'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:14 GMT'] + fastly-ratelimit-remaining: ['879'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666495.714883,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692595.802828,VS0,VE171'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":7,"deleted_at":null,"created_at":"2018-05-30T07:48:15Z","updated_at":"2018-05-30T07:48:15Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":7,"deleted_at":null,"created_at":"2018-05-30T15:03:15Z","updated_at":"2018-05-30T15:03:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:15 GMT'] - fastly-ratelimit-remaining: ['560'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:15 GMT'] + fastly-ratelimit-remaining: ['878'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666495.942309,VS0,VE247'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692595.033846,VS0,VE469'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":7,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:48:15Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:48:15Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":7,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:15Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:15Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:15 GMT'] - fastly-ratelimit-remaining: ['559'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:15 GMT'] + fastly-ratelimit-remaining: ['877'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666495.253657,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692596.560974,VS0,VE166'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"7","updated_at":"2018-05-30T07:48:15Z","deleted_at":null,"created_at":"2018-05-30T07:48:15Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"7","updated_at":"2018-05-30T15:03:15Z","deleted_at":null,"created_at":"2018-05-30T15:03:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:15 GMT'] - fastly-ratelimit-remaining: ['558'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:15 GMT'] + fastly-ratelimit-remaining: ['876'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666496.747856,VS0,VE165'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692596.788393,VS0,VE159'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "301", "request_condition": "", "name": "Set @@ -1209,102 +1255,103 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/response_object response: body: {string: !!python/unicode '{"status":"301","request_condition":"","name":"Set - 301 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"7","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:48:16Z","updated_at":"2018-05-30T07:48:16Z"}'} + 301 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"7","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:16Z","updated_at":"2018-05-30T15:03:16Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:16 GMT'] - fastly-ratelimit-remaining: ['557'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:16 GMT'] + fastly-ratelimit-remaining: ['875'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666496.975923,VS0,VE169'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692596.005657,VS0,VE458'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":7,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":7,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:16 GMT'] - fastly-ratelimit-remaining: ['556'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:16 GMT'] + fastly-ratelimit-remaining: ['874'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666496.208091,VS0,VE464'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692597.525794,VS0,VE468'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":7,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:16Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:16Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:17 GMT'] - fastly-ratelimit-remaining: ['555'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:17 GMT'] + fastly-ratelimit-remaining: ['873'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666497.735161,VS0,VE593'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692597.054603,VS0,VE870'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:17Z","active":true,"number":7,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"301","response":"Ok","name":"Set - 301 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:48:17Z","active":true,"number":7,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 301 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:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"301","response":"Ok","name":"Set 301 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['5175'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:17 GMT'] + date: ['Wed, 30 May 2018 15:03:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666497.389817,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692598.980838,VS0,VE149'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled index 103e4ea..4c677e9 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled @@ -6,74 +6,675 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['1852'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:18 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692598.250836,VS0,VE146'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + response: + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"301","response":"Ok","name":"Set + 301 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:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"301","response":"Ok","name":"Set + 301 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}}}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['5175'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:18 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692598.451666,VS0,VE175'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/clone + response: + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['232'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:19 GMT'] + fastly-ratelimit-remaining: ['872'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692599.682121,VS0,VE514'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/domain + response: + body: {string: !!python/unicode '[{"version":8,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:03:15Z","comment":"test1","updated_at":"2018-05-30T15:03:15Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['190'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:19 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692599.247877,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/healthcheck + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:19 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692599.443590,VS0,VE126'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/condition + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:19 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692600.626123,VS0,VE124'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/backend + response: + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:03:15Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":8,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:03:15Z","comment":""}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['718'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:19 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692600.805576,VS0,VE133'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/director + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:20 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692600.997199,VS0,VE388'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/cache_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:20 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692600.436131,VS0,VE124'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/gzip + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:20 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692601.620938,VS0,VE116'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/header + response: + body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:03:15Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"8","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:03:15Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['414'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:21 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692601.793555,VS0,VE412'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/request_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:21 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692601.257694,VS0,VE427'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/response_object + response: + body: {string: !!python/unicode '[{"response":"Ok","version":"8","status":"301","name":"Set + 301 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:03:16Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:03:16Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['280'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:21 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692602.742449,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692602.918099,VS0,VE129'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/logging/s3 + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692602.102533,VS0,VE128'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/logging/syslog + response: + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['694'] + content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:44 GMT'] + date: ['Wed, 30 May 2018 15:03:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666884.956958,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692602.288553,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details + method: DELETE + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/domain/cdn.example8000.com response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:58Z","active":false,"number":2,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:53Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - 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":"302","response":"Ok","name":"Set - 302 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":null}'} + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:22 GMT'] + fastly-ratelimit-remaining: ['871'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692602.466267,VS0,VE205'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/backend/localhost + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:22 GMT'] + fastly-ratelimit-remaining: ['870'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692603.729989,VS0,VE256'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/header/Set%20Location%20header + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:23 GMT'] + fastly-ratelimit-remaining: ['869'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692603.039510,VS0,VE169'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/response_object/Set%20301%20status%20code + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:23 GMT'] + fastly-ratelimit-remaining: ['868'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692603.266600,VS0,VE464'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/domain + response: + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":8,"deleted_at":null,"created_at":"2018-05-30T15:03:24Z","updated_at":"2018-05-30T15:03:24Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['188'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:24 GMT'] + fastly-ratelimit-remaining: ['867'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692604.792562,VS0,VE487'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": + "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": + null, "shield": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/backend + response: + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":8,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:24Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:24Z","comment":""}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['716'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:24 GMT'] + fastly-ratelimit-remaining: ['866'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692604.338514,VS0,VE178'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": + null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/header + response: + body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"8","updated_at":"2018-05-30T15:03:24Z","deleted_at":null,"created_at":"2018-05-30T15:03:24Z"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2376'] + content-length: ['412'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:44 GMT'] + date: ['Wed, 30 May 2018 15:03:25 GMT'] + fastly-ratelimit-remaining: ['865'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666884.437283,VS0,VE417'] + x-timer: ['S1527692605.577029,VS0,VE438'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set + 302 status code", "content": "", "content_type": "", "response": "Ok"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/response_object + response: + body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"8","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:25Z","updated_at":"2018-05-30T15:03:25Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['278'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:25 GMT'] + fastly-ratelimit-remaining: ['864'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692605.075410,VS0,VE205'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"general.default_ttl": 3600}' + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/settings + response: + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":8,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['194'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:25 GMT'] + fastly-ratelimit-remaining: ['863'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692605.331901,VS0,VE462'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/activate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:25Z","deployed":false,"msg":null}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['241'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:26 GMT'] + fastly-ratelimit-remaining: ['862'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692606.852166,VS0,VE708'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:58Z","active":false,"number":2,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:53Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"302","response":"Ok","name":"Set + 302 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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":null}'} + 302 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}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2376'] + content-length: ['5407'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:45 GMT'] + date: ['Wed, 30 May 2018 15:03:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666885.912669,VS0,VE154'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692607.617802,VS0,VE149'] status: {code: 200, message: OK} - request: body: null @@ -82,81 +683,83 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['694'] + content-length: ['2084'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:45 GMT'] + date: ['Wed, 30 May 2018 15:03:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666885.127889,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692607.827052,VS0,VE147'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:58Z","active":false,"number":2,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:53Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"302","response":"Ok","name":"Set + 302 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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":null}'} + 302 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}}}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2376'] + content-length: ['5407'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:45 GMT'] + date: ['Wed, 30 May 2018 15:03:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666885.315984,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692607.032072,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:46 GMT'] - fastly-ratelimit-remaining: ['389'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:27 GMT'] + fastly-ratelimit-remaining: ['861'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666885.489315,VS0,VE526'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692607.223225,VS0,VE490'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","created_at":"2018-05-30T07:48:57Z","comment":"test1","updated_at":"2018-05-30T07:48:57Z"}]'} + body: {string: !!python/unicode '[{"version":9,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:03:24Z","comment":"test1","updated_at":"2018-05-30T15:03:24Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -164,21 +767,21 @@ interactions: connection: [keep-alive] content-length: ['190'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:46 GMT'] + date: ['Wed, 30 May 2018 15:03:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666886.073340,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692608.775858,VS0,VE136'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -188,21 +791,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:46 GMT'] + date: ['Wed, 30 May 2018 15:03:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666887.526491,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692608.968480,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/condition response: body: {string: !!python/unicode '[]'} headers: @@ -212,23 +815,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:47 GMT'] + date: ['Wed, 30 May 2018 15:03:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666887.707566,VS0,VE444'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692608.147657,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:48:58Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:48:58Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:03:24Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":9,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:03:24Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -236,21 +839,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:47 GMT'] + date: ['Wed, 30 May 2018 15:03:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666887.213002,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692608.333984,VS0,VE140'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/director response: body: {string: !!python/unicode '[]'} headers: @@ -260,21 +863,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:47 GMT'] + date: ['Wed, 30 May 2018 15:03:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666888.690901,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692609.535185,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,21 +887,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:48 GMT'] + date: ['Wed, 30 May 2018 15:03:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666888.870119,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692609.715166,VS0,VE382'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -308,24 +911,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:48 GMT'] + date: ['Wed, 30 May 2018 15:03:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666888.338503,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692609.156428,VS0,VE132'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"6yzF2I7iLleWr5wHj0GKrl","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:48:58Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:48:58Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:03:24Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"9","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:03:24Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -333,21 +936,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:49 GMT'] + date: ['Wed, 30 May 2018 15:03:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666889.813381,VS0,VE385'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692609.347266,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -357,24 +960,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:49 GMT'] + date: ['Wed, 30 May 2018 15:03:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666889.259328,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692610.539448,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/response_object response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","cache_condition":"","created_at":"2018-05-30T07:48:58Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:48:58Z"}]'} + body: {string: !!python/unicode '[{"response":"Ok","version":"9","status":"302","name":"Set + 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:03:25Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:03:25Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -382,21 +985,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:49 GMT'] + date: ['Wed, 30 May 2018 15:03:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666889.450549,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692610.721746,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -406,21 +1009,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:50 GMT'] + date: ['Wed, 30 May 2018 15:03:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666890.919755,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692610.192518,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -430,21 +1033,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:50 GMT'] + date: ['Wed, 30 May 2018 15:03:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666890.387598,VS0,VE385'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692611.660275,VS0,VE125'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:30 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692611.841495,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -453,23 +1080,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:51 GMT'] - fastly-ratelimit-remaining: ['388'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:31 GMT'] + fastly-ratelimit-remaining: ['860'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666891.833778,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692611.017708,VS0,VE184'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/backend/localhost + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -478,23 +1105,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:51 GMT'] - fastly-ratelimit-remaining: ['387'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:31 GMT'] + fastly-ratelimit-remaining: ['859'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666891.328815,VS0,VE454'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692611.261028,VS0,VE459'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -503,23 +1130,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:52 GMT'] - fastly-ratelimit-remaining: ['386'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:32 GMT'] + fastly-ratelimit-remaining: ['858'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666892.842901,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692612.779760,VS0,VE222'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -528,99 +1155,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:52 GMT'] - fastly-ratelimit-remaining: ['385'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:32 GMT'] + fastly-ratelimit-remaining: ['857'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666892.060563,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692612.061143,VS0,VE704'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"6yzF2I7iLleWr5wHj0GKrl","version":3,"deleted_at":null,"created_at":"2018-05-30T07:54:52Z","updated_at":"2018-05-30T07:54:52Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":9,"deleted_at":null,"created_at":"2018-05-30T15:03:33Z","updated_at":"2018-05-30T15:03:33Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:52 GMT'] - fastly-ratelimit-remaining: ['384'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:33 GMT'] + fastly-ratelimit-remaining: ['856'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666893.561199,VS0,VE209'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692613.822002,VS0,VE273'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:54:53Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:54:53Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":9,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:33Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:33Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:53 GMT'] - fastly-ratelimit-remaining: ['383'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:33 GMT'] + fastly-ratelimit-remaining: ['855'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666893.828661,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692613.148772,VS0,VE542'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","version":"3","updated_at":"2018-05-30T07:54:53Z","deleted_at":null,"created_at":"2018-05-30T07:54:53Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"9","updated_at":"2018-05-30T15:03:34Z","deleted_at":null,"created_at":"2018-05-30T15:03:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:53 GMT'] - fastly-ratelimit-remaining: ['382'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:34 GMT'] + fastly-ratelimit-remaining: ['854'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666893.335430,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692614.752572,VS0,VE626'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "301", "request_condition": "", "name": "Set @@ -628,76 +1255,78 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/response_object response: body: {string: !!python/unicode '{"status":"301","request_condition":"","name":"Set - 301 status code","content":"","content_type":"","response":"Ok","service_id":"6yzF2I7iLleWr5wHj0GKrl","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:54:53Z","updated_at":"2018-05-30T07:54:53Z"}'} + 301 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"9","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:34Z","updated_at":"2018-05-30T15:03:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:54 GMT'] - fastly-ratelimit-remaining: ['381'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:34 GMT'] + fastly-ratelimit-remaining: ['853'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666894.844585,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692614.440519,VS0,VE472'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/3/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"6yzF2I7iLleWr5wHj0GKrl"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":9,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:54 GMT'] - fastly-ratelimit-remaining: ['380'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:35 GMT'] + fastly-ratelimit-remaining: ['852'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666894.069252,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692615.973963,VS0,VE495'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false},{"testing":false,"locked":false,"number":3,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:54:45Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:54:53Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:54:53Z","active":false,"number":3,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:54:45Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"301","response":"Ok","name":"Set - 301 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":null}'} + 301 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"302","response":"Ok","name":"Set + 302 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}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2609'] + content-length: ['5642'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:54:54 GMT'] + date: ['Wed, 30 May 2018 15:03:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666895.576144,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692616.526328,VS0,VE203'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal index 85dc50f..93b6ae7 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal +++ b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal @@ -6,653 +6,76 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:17Z","active":true,"number":7,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:10Z","comment":""},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2085'] + content-length: ['2317'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:28 GMT'] + date: ['Wed, 30 May 2018 15:03:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666508.023363,VS0,VE195'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692616.859161,VS0,VE158'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:26Z","active":false,"number":8,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:18Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - 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":"302","response":"Ok","name":"Set - 302 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:48:17Z","active":true,"number":7,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:10Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"301","response":"Ok","name":"Set - 301 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}}}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5410'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666508.282217,VS0,VE121'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/7/clone - response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":9,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:28 GMT'] - fastly-ratelimit-remaining: ['544'] - fastly-ratelimit-reset: ['1527667200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666508.461693,VS0,VE213'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/domain - response: - body: {string: !!python/unicode '[{"version":9,"name":"cdn.example8000.com","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","created_at":"2018-05-30T07:48:15Z","comment":"test1","updated_at":"2018-05-30T07:48:15Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['190'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:28 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666509.736010,VS0,VE169'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/healthcheck - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666509.966761,VS0,VE1043'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/condition - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666510.069313,VS0,VE191'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/backend - response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T07:48:15Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":9,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T07:48:15Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666510.322419,VS0,VE457'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/director - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:30 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666511.839885,VS0,VE131'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/cache_settings - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666511.031077,VS0,VE153'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/gzip - response: - body: {string: !!python/unicode '[]'} + 301 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"302","response":"Ok","name":"Set + 302 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}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['5642'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:31 GMT'] + date: ['Wed, 30 May 2018 15:03:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666511.244791,VS0,VE190'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/header - response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"5NBQfakHXxmBXM0q9qtZ0S","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T07:48:15Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"9","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T07:48:15Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['414'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666511.495035,VS0,VE151'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/request_settings - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:31 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666512.708010,VS0,VE154'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/response_object - response: - body: {string: !!python/unicode '[{"response":"Ok","version":"9","status":"301","name":"Set - 301 status code","content":"","deleted_at":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","cache_condition":"","created_at":"2018-05-30T07:48:16Z","content_type":"","request_condition":"","updated_at":"2018-05-30T07:48:16Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:32 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1527666512.924286,VS0,VE463'] + x-timer: ['S1527692616.075870,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:32 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666512.447974,VS0,VE425'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/logging/s3 - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:33 GMT'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666513.933578,VS0,VE170'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/domain/cdn.example8000.com - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:33 GMT'] - fastly-ratelimit-remaining: ['543'] - fastly-ratelimit-reset: ['1527667200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666513.162920,VS0,VE435'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/backend/localhost - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:33 GMT'] - fastly-ratelimit-remaining: ['542'] - fastly-ratelimit-reset: ['1527667200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666514.658768,VS0,VE175'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/header/Set%20Location%20header - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:34 GMT'] - fastly-ratelimit-remaining: ['541'] - fastly-ratelimit-reset: ['1527667200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666514.893687,VS0,VE209'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/response_object/Set%20301%20status%20code - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:34 GMT'] - fastly-ratelimit-remaining: ['540'] - fastly-ratelimit-reset: ['1527667200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666514.162794,VS0,VE465'] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' - headers: - Content-Type: [application/json] - method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/domain - response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":9,"deleted_at":null,"created_at":"2018-05-30T07:48:35Z","updated_at":"2018-05-30T07:48:35Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['188'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:35 GMT'] - fastly-ratelimit-remaining: ['539'] - fastly-ratelimit-reset: ['1527667200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666515.688612,VS0,VE519'] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": - "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": - null, "shield": null}' - headers: - Content-Type: [application/json] - method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/backend - response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":9,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:48:35Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:48:35Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:35 GMT'] - fastly-ratelimit-remaining: ['538'] - fastly-ratelimit-reset: ['1527667200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666515.268285,VS0,VE460'] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": - null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' - headers: - Content-Type: [application/json] - method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/header - response: - body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"9","updated_at":"2018-05-30T07:48:36Z","deleted_at":null,"created_at":"2018-05-30T07:48:36Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['412'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:36 GMT'] - fastly-ratelimit-remaining: ['537'] - fastly-ratelimit-reset: ['1527667200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666516.792638,VS0,VE485'] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set - 302 status code", "content": "", "content_type": "", "response": "Ok"}' - headers: - Content-Type: [application/json] - method: POST - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/response_object - response: - body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"5NBQfakHXxmBXM0q9qtZ0S","version":"9","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:48:36Z","updated_at":"2018-05-30T07:48:36Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:36 GMT'] - fastly-ratelimit-remaining: ['536'] - fastly-ratelimit-reset: ['1527667200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666516.337067,VS0,VE167'] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"general.default_ttl": 3600}' - headers: - Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/settings - response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":9,"general.default_host":"","general.default_pci":0,"service_id":"5NBQfakHXxmBXM0q9qtZ0S"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:37 GMT'] - fastly-ratelimit-remaining: ['535'] - fastly-ratelimit-reset: ['1527667200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666517.566907,VS0,VE489'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/activate - response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:36Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:37 GMT'] - fastly-ratelimit-remaining: ['534'] - fastly-ratelimit-reset: ['1527667200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666517.117655,VS0,VE633'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details - response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - 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":"302","response":"Ok","name":"Set - 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"301","response":"Ok","name":"Set + 301 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:37 GMT'] + date: ['Wed, 30 May 2018 15:03:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666518.811107,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692616.255526,VS0,VE384'] status: {code: 200, message: OK} - request: body: null @@ -661,75 +84,75 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:38 GMT'] + date: ['Wed, 30 May 2018 15:03:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666518.022913,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692617.697626,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - 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":"302","response":"Ok","name":"Set - 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"301","response":"Ok","name":"Set + 301 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:38 GMT'] + date: ['Wed, 30 May 2018 15:03:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666518.246232,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692617.907321,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - 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":"302","response":"Ok","name":"Set - 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"301","response":"Ok","name":"Set + 301 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:38 GMT'] + date: ['Wed, 30 May 2018 15:03:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666518.421437,VS0,VE448'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692617.079565,VS0,VE121'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled index 3caf015..bd02b71 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,70 +14,68 @@ interactions: connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:39 GMT'] + date: ['Wed, 30 May 2018 15:03:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1527666519.995855,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692617.326204,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - 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":"302","response":"Ok","name":"Set - 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"301","response":"Ok","name":"Set + 301 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:39 GMT'] + date: ['Wed, 30 May 2018 15:03:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666519.210555,VS0,VE131'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692618.799827,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - 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":"302","response":"Ok","name":"Set - 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"301","response":"Ok","name":"Set + 301 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:39 GMT'] + date: ['Wed, 30 May 2018 15:03:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666519.401246,VS0,VE161'] + x-timer: ['S1527692618.245578,VS0,VE122'] status: {code: 200, message: OK} - request: body: null @@ -86,59 +84,61 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:39 GMT'] + date: ['Wed, 30 May 2018 15:03:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1527666520.623584,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692618.425972,VS0,VE146'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - 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":"302","response":"Ok","name":"Set - 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"301","response":"Ok","name":"Set + 301 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:39 GMT'] + date: ['Wed, 30 May 2018 15:03:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666520.832955,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692619.629268,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - 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":"302","response":"Ok","name":"Set - 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"301","response":"Ok","name":"Set + 301 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -146,15 +146,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:40 GMT'] + date: ['Wed, 30 May 2018 15:03:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666520.011175,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692619.806440,VS0,VE118'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_not_exist b/tests/fixtures/cassettes/test_service_does_not_exist index fc9b162..54e4a84 100644 --- a/tests/fixtures/cassettes/test_service_does_not_exist +++ b/tests/fixtures/cassettes/test_service_does_not_exist @@ -6,32 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","comment":""}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:40 GMT'] + date: ['Wed, 30 May 2018 15:03:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666520.290847,VS0,VE179'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692619.023877,VS0,VE178'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:33Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:47:57Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:47:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:26Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}],"created_at":"2018-05-30T07:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:47:23Z","id":"5NBQfakHXxmBXM0q9qtZ0S","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - 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":"302","response":"Ok","name":"Set - 302 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:48:37Z","active":true,"number":9,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:28Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 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":"301","response":"Ok","name":"Set + 301 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:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03: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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -39,48 +40,48 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:40 GMT'] + date: ['Wed, 30 May 2018 15:03:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666521.530566,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692619.261004,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S/version/9/deactivate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":false,"service_id":"5NBQfakHXxmBXM0q9qtZ0S","staging":false,"created_at":"2018-05-30T07:48:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:37Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":8,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:40 GMT'] - fastly-ratelimit-remaining: ['533'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:39 GMT'] + fastly-ratelimit-remaining: ['851'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1527666521.712411,VS0,VE211'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692619.479252,VS0,VE205'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5NBQfakHXxmBXM0q9qtZ0S + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,16 +90,16 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:41 GMT'] - fastly-ratelimit-remaining: ['532'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:40 GMT'] + fastly-ratelimit-remaining: ['850'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666521.984499,VS0,VE447'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692620.743147,VS0,VE435'] status: {code: 200, message: OK} - request: body: null @@ -111,18 +112,19 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Jimdo Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:41 GMT'] + date: ['Wed, 30 May 2018 15:03:40 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666521.491561,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692620.235522,VS0,VE125'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -132,32 +134,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"6b0afae9385b6cb754fbaf0c5c8799781bb979b4","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","comment":"","updated_at":"2018-05-30T07:48:42Z","id":"6nOxmBhceCZJ2hqJH70k5I"}'} + Fastly Ansible Module Test","publish_key":"fe248178d3a9484e1881a6ca2b11d80089d77bb8","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:03:40Z","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['518'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:42 GMT'] - fastly-ratelimit-remaining: ['531'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:40 GMT'] + fastly-ratelimit-remaining: ['849'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666522.675098,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692620.420334,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/details + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false}],"created_at":"2018-05-30T07:48:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:42Z","id":"6nOxmBhceCZJ2hqJH70k5I","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:42Z","active":false,"number":1,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:40Z","active":false,"number":1,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:40Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -165,46 +167,70 @@ interactions: connection: [keep-alive] content-length: ['1113'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:42 GMT'] + date: ['Wed, 30 May 2018 15:03:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1527666522.210980,VS0,VE266'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692621.890150,VS0,VE449'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/1/clone + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:43 GMT'] - fastly-ratelimit-remaining: ['530'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:41 GMT'] + fastly-ratelimit-remaining: ['848'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692621.397029,VS0,VE475'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/domain + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666523.536596,VS0,VE465'] + x-timer: ['S1527692622.929667,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/domain + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -214,21 +240,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:43 GMT'] + date: ['Wed, 30 May 2018 15:03:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666523.063612,VS0,VE124'] + x-timer: ['S1527692622.110793,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/healthcheck + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -238,21 +264,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:43 GMT'] + date: ['Wed, 30 May 2018 15:03:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666523.244978,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692623.579092,VS0,VE386'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/condition + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -262,21 +288,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:43 GMT'] + date: ['Wed, 30 May 2018 15:03:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666523.429914,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692623.021700,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/backend + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -286,21 +312,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:44 GMT'] + date: ['Wed, 30 May 2018 15:03:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666524.901754,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692623.198179,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/director + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -310,21 +336,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:44 GMT'] + date: ['Wed, 30 May 2018 15:03:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666524.412146,VS0,VE383'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692623.421034,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/cache_settings + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -334,21 +360,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:44 GMT'] + date: ['Wed, 30 May 2018 15:03:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1527666525.855327,VS0,VE132'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692624.605494,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/gzip + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -358,21 +384,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:45 GMT'] + date: ['Wed, 30 May 2018 15:03:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1527666525.049348,VS0,VE176'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692624.780124,VS0,VE390'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/header + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -382,21 +408,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:45 GMT'] + date: ['Wed, 30 May 2018 15:03:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666525.285774,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692624.228147,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/request_settings + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -406,21 +432,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:45 GMT'] + date: ['Wed, 30 May 2018 15:03:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1527666526.761766,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692624.414672,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/response_object + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -430,21 +456,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:46 GMT'] + date: ['Wed, 30 May 2018 15:03:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666526.950867,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692625.603424,VS0,VE452'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/snippet + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -454,21 +480,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:46 GMT'] + date: ['Wed, 30 May 2018 15:03:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1527666526.131043,VS0,VE429'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692625.111956,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/logging/s3 + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -478,97 +504,97 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:46 GMT'] + date: ['Wed, 30 May 2018 15:03:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666527.622863,VS0,VE177'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692625.293831,VS0,VE415'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/domain + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"6nOxmBhceCZJ2hqJH70k5I","version":2,"deleted_at":null,"created_at":"2018-05-30T07:48:47Z","updated_at":"2018-05-30T07:48:47Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"4yGvzhUp0zdxyqqOAppQub","version":2,"deleted_at":null,"created_at":"2018-05-30T15:03:45Z","updated_at":"2018-05-30T15:03:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:47 GMT'] - fastly-ratelimit-remaining: ['529'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:46 GMT'] + fastly-ratelimit-remaining: ['847'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666527.861342,VS0,VE483'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692626.766687,VS0,VE253'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/backend + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6nOxmBhceCZJ2hqJH70k5I","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:48:47Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:48:47Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"4yGvzhUp0zdxyqqOAppQub","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:46Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:46Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:47 GMT'] - fastly-ratelimit-remaining: ['528'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:46 GMT'] + fastly-ratelimit-remaining: ['846'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666527.404533,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692626.079503,VS0,VE446'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/header + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6nOxmBhceCZJ2hqJH70k5I","version":"2","updated_at":"2018-05-30T07:48:48Z","deleted_at":null,"created_at":"2018-05-30T07:48:48Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"4yGvzhUp0zdxyqqOAppQub","version":"2","updated_at":"2018-05-30T15:03:46Z","deleted_at":null,"created_at":"2018-05-30T15:03:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:48 GMT'] - fastly-ratelimit-remaining: ['527'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:47 GMT'] + fastly-ratelimit-remaining: ['845'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666528.900937,VS0,VE193'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692627.586772,VS0,VE414'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -576,87 +602,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/response_object + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"6nOxmBhceCZJ2hqJH70k5I","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:48:48Z","updated_at":"2018-05-30T07:48:48Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"4yGvzhUp0zdxyqqOAppQub","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:47Z","updated_at":"2018-05-30T15:03:47Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:48 GMT'] - fastly-ratelimit-remaining: ['526'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:47 GMT'] + fastly-ratelimit-remaining: ['844'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666528.158347,VS0,VE496'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692627.055292,VS0,VE187'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/settings + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6nOxmBhceCZJ2hqJH70k5I"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4yGvzhUp0zdxyqqOAppQub"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:49 GMT'] - fastly-ratelimit-remaining: ['525'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:47 GMT'] + fastly-ratelimit-remaining: ['843'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666529.713000,VS0,VE473'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692627.301915,VS0,VE464'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/activate + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:48Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:47Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:49 GMT'] - fastly-ratelimit-remaining: ['524'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:48 GMT'] + fastly-ratelimit-remaining: ['842'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1527666529.249704,VS0,VE629'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692628.825642,VS0,VE1052'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/details + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:49Z","deployed":false}],"created_at":"2018-05-30T07:48:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:42Z","id":"6nOxmBhceCZJ2hqJH70k5I","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:49Z","active":true,"number":2,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:48Z","deployed":false}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:48:49Z","active":true,"number":2,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -666,13 +692,13 @@ interactions: connection: [keep-alive] content-length: ['4015'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:50 GMT'] + date: ['Wed, 30 May 2018 15:03:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1527666530.938848,VS0,VE197'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692629.938347,VS0,VE225'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled index 4bb1a2b..265aa9a 100644 --- a/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:49Z","active":true,"number":2,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","comment":""}],"created_at":"2018-05-30T07:48:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:42Z","id":"6nOxmBhceCZJ2hqJH70k5I"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","comment":""}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['692'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:50 GMT'] + date: ['Wed, 30 May 2018 15:03:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666530.271579,VS0,VE187'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692629.268296,VS0,VE145'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/details + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:42Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:49Z","deployed":false}],"created_at":"2018-05-30T07:48:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:42Z","id":"6nOxmBhceCZJ2hqJH70k5I","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:49Z","active":true,"number":2,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:48Z","deployed":false}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set - 302 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:48:49Z","active":true,"number":2,"service_id":"6nOxmBhceCZJ2hqJH70k5I","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:48:42Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 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:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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}}}'} headers: @@ -42,46 +42,46 @@ interactions: connection: [keep-alive] content-length: ['4015'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:50 GMT'] + date: ['Wed, 30 May 2018 15:03:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666531.518288,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692629.470595,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I/version/2/deactivate + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6nOxmBhceCZJ2hqJH70k5I","staging":false,"created_at":"2018-05-30T07:48:42Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:49Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:48Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:51 GMT'] - fastly-ratelimit-remaining: ['523'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:49 GMT'] + fastly-ratelimit-remaining: ['841'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1527666531.712698,VS0,VE520'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692630.650662,VS0,VE219'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/6nOxmBhceCZJ2hqJH70k5I + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,16 +90,16 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:51 GMT'] - fastly-ratelimit-remaining: ['522'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:50 GMT'] + fastly-ratelimit-remaining: ['840'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1527666531.294414,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692630.929037,VS0,VE420'] status: {code: 200, message: OK} - request: body: null @@ -116,14 +116,14 @@ interactions: connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:51 GMT'] + date: ['Wed, 30 May 2018 15:03:50 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1527666532.790922,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692630.405580,VS0,VE383'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -133,32 +133,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"413e4710525de209b82e913cf0dc7169943cb5c0","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T07:48:52Z","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl"}'} + Fastly Ansible Module Test","publish_key":"99d5f7a23f2d60310e68a50b108120893ba61b8a","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:03:51Z","comment":"","updated_at":"2018-05-30T15:03:51Z","id":"5A4gcUWcjdIRnDRbhtFNce"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['518'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:52 GMT'] - fastly-ratelimit-remaining: ['521'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:51 GMT'] + fastly-ratelimit-remaining: ['839'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1527666532.974088,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692631.847313,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:52Z","active":false,"number":1,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:52Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false}],"created_at":"2018-05-30T15:03:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:51Z","id":"5A4gcUWcjdIRnDRbhtFNce","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:51Z","active":false,"number":1,"service_id":"5A4gcUWcjdIRnDRbhtFNce","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:51Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"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":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -166,46 +166,46 @@ interactions: connection: [keep-alive] content-length: ['1113'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:52 GMT'] + date: ['Wed, 30 May 2018 15:03:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666532.474547,VS0,VE180'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692631.381583,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/1/clone + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:53 GMT'] - fastly-ratelimit-remaining: ['520'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:51 GMT'] + fastly-ratelimit-remaining: ['838'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666533.715087,VS0,VE501'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692632.592770,VS0,VE199'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/domain + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -215,21 +215,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:53 GMT'] + date: ['Wed, 30 May 2018 15:03:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1527666533.276361,VS0,VE168'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692632.853192,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/healthcheck + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -239,21 +239,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:53 GMT'] + date: ['Wed, 30 May 2018 15:03:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1527666534.504150,VS0,VE425'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692632.033632,VS0,VE446'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/condition + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -263,21 +263,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:54 GMT'] + date: ['Wed, 30 May 2018 15:03:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666534.989941,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692633.537419,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/backend + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -287,21 +287,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:54 GMT'] + date: ['Wed, 30 May 2018 15:03:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1527666534.440927,VS0,VE168'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692633.762613,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/director + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -311,21 +311,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:54 GMT'] + date: ['Wed, 30 May 2018 15:03:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666535.669221,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692633.947726,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/cache_settings + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -335,21 +335,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:55 GMT'] + date: ['Wed, 30 May 2018 15:03:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1527666535.895684,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692633.169192,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/gzip + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -359,21 +359,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:55 GMT'] + date: ['Wed, 30 May 2018 15:03:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1527666535.081652,VS0,VE446'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692634.609792,VS0,VE167'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/header + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -383,21 +383,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:55 GMT'] + date: ['Wed, 30 May 2018 15:03:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1527666536.588443,VS0,VE165'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692634.835531,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/request_settings + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -407,21 +407,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:56 GMT'] + date: ['Wed, 30 May 2018 15:03:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1527666536.812497,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692634.019007,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/response_object + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -431,21 +431,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:56 GMT'] + date: ['Wed, 30 May 2018 15:03:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1527666536.286684,VS0,VE394'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692634.205668,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/snippet + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -455,21 +455,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:57 GMT'] + date: ['Wed, 30 May 2018 15:03:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666537.741384,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692635.676416,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/logging/s3 + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -479,97 +479,121 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:57 GMT'] + date: ['Wed, 30 May 2018 15:03:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1527666537.232690,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692635.853972,VS0,VE119'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:55 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692635.033958,VS0,VE126'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/domain + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"6yzF2I7iLleWr5wHj0GKrl","version":2,"deleted_at":null,"created_at":"2018-05-30T07:48:57Z","updated_at":"2018-05-30T07:48:57Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"5A4gcUWcjdIRnDRbhtFNce","version":2,"deleted_at":null,"created_at":"2018-05-30T15:03:55Z","updated_at":"2018-05-30T15:03:55Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:57 GMT'] - fastly-ratelimit-remaining: ['519'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:55 GMT'] + fastly-ratelimit-remaining: ['837'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] - x-timer: ['S1527666537.421543,VS0,VE537'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692635.215300,VS0,VE255'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/backend + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T07:48:58Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T07:48:58Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5A4gcUWcjdIRnDRbhtFNce","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:55Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:55Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:58 GMT'] - fastly-ratelimit-remaining: ['518'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:55 GMT'] + fastly-ratelimit-remaining: ['836'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1527666538.017410,VS0,VE179'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692636.533108,VS0,VE458'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/header + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6yzF2I7iLleWr5wHj0GKrl","version":"2","updated_at":"2018-05-30T07:48:58Z","deleted_at":null,"created_at":"2018-05-30T07:48:58Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5A4gcUWcjdIRnDRbhtFNce","version":"2","updated_at":"2018-05-30T15:03:56Z","deleted_at":null,"created_at":"2018-05-30T15:03:56Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:58 GMT'] - fastly-ratelimit-remaining: ['517'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:56 GMT'] + fastly-ratelimit-remaining: ['835'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1527666538.257660,VS0,VE480'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692636.049932,VS0,VE451'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -577,60 +601,60 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/response_object + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"6yzF2I7iLleWr5wHj0GKrl","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T07:48:58Z","updated_at":"2018-05-30T07:48:58Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"5A4gcUWcjdIRnDRbhtFNce","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:56Z","updated_at":"2018-05-30T15:03:56Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:58 GMT'] - fastly-ratelimit-remaining: ['516'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:56 GMT'] + fastly-ratelimit-remaining: ['834'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1527666539.799500,VS0,VE193'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692637.561508,VS0,VE159'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/version/2/settings + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6yzF2I7iLleWr5wHj0GKrl"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5A4gcUWcjdIRnDRbhtFNce"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:59 GMT'] - fastly-ratelimit-remaining: ['515'] - fastly-ratelimit-reset: ['1527667200'] + date: ['Wed, 30 May 2018 15:03:57 GMT'] + fastly-ratelimit-remaining: ['833'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1527666539.053210,VS0,VE446'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692637.777350,VS0,VE454'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6yzF2I7iLleWr5wHj0GKrl/details + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:52Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6yzF2I7iLleWr5wHj0GKrl","staging":false,"created_at":"2018-05-30T07:48:53Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:48:58Z","deployed":false}],"created_at":"2018-05-30T07:48:52Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:48:52Z","id":"6yzF2I7iLleWr5wHj0GKrl","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:48:58Z","active":false,"number":2,"service_id":"6yzF2I7iLleWr5wHj0GKrl","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T07:48:53Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:56Z","deployed":false}],"created_at":"2018-05-30T15:03:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:51Z","id":"5A4gcUWcjdIRnDRbhtFNce","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:56Z","active":false,"number":2,"service_id":"5A4gcUWcjdIRnDRbhtFNce","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:51Z","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":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" 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":"302","response":"Ok","name":"Set 302 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":null}'} headers: @@ -640,13 +664,13 @@ interactions: connection: [keep-alive] content-length: ['2376'] content-type: [application/json] - date: ['Wed, 30 May 2018 07:48:59 GMT'] + date: ['Wed, 30 May 2018 15:03:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1527666540.559142,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692637.289309,VS0,VE147'] status: {code: 200, message: OK} version: 1 From 0d865624e8eb593c29d4f4e907de6283889a2bf5 Mon Sep 17 00:00:00 2001 From: Lucas Romero Date: Wed, 30 May 2018 17:55:09 +0200 Subject: [PATCH 5/8] Debug Ansible Module errors --- library/fastly_service.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/library/fastly_service.py b/library/fastly_service.py index 58c5899..b4e79ec 100644 --- a/library/fastly_service.py +++ b/library/fastly_service.py @@ -144,6 +144,7 @@ import urllib import json import os +import traceback from ansible.module_utils.basic import * # noqa: F403 @@ -1290,7 +1291,7 @@ def configuration(self): except FastlyValidationError as err: self.module.fail_json(msg='Error in ' + err.cls + ': ' + err.message) except Exception as err: - self.module.fail_json(msg=err.message) + self.module.fail_json(msg=err.message, trace=traceback.format_exc()) def run(self): try: @@ -1311,7 +1312,7 @@ def run(self): self.module.exit_json(changed=result.changed, service_id=result.service.id, actions=result.actions) except Exception as err: - self.module.fail_json(msg=err.message) + self.module.fail_json(msg=err.message, trace=traceback.format_exc()) def main(): From f1d1320e2131cd1097c13dd93ee3c15f3f17fadd Mon Sep 17 00:00:00 2001 From: Lucas Romero Date: Wed, 30 May 2018 18:05:46 +0200 Subject: [PATCH 6/8] Do not fail if supplied config is None --- library/fastly_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/fastly_service.py b/library/fastly_service.py index b4e79ec..88a41d7 100644 --- a/library/fastly_service.py +++ b/library/fastly_service.py @@ -184,7 +184,7 @@ def read_config(self, config, validate_choices, param_name): choices = self.schema[param_name].get('choices', None) exclude_empty_str = self.schema[param_name].get('exclude_empty_str', False) - if param_name in config: + if config and param_name in config: value = config[param_name] else: value = default @@ -631,7 +631,7 @@ def __init__(self, cfg, validate_choices=True): self.snippets = [FastlyVclSnippet(s, validate_choices) for s in cfg.get('snippets') or []] self.s3s = [FastlyS3Logging(s, validate_choices) for s in cfg.get('s3s') or []] self.syslogs = [FastlySyslogLogging(s, validate_choices) for s in cfg.get('syslogs') or []] - self.settings = FastlySettings(cfg.get('settings', dict()), validate_choices) + self.settings = FastlySettings(cfg.get('settings'), validate_choices) def __eq__(self, other): return sorted(self.domains, key=FastlyDomain.sort_key) == sorted(other.domains, key=FastlyDomain.sort_key) \ From 54c14883c072b86caf1d312828c6b632a132fdd2 Mon Sep 17 00:00:00 2001 From: Paul Seiffert Date: Thu, 31 May 2018 15:38:14 +0200 Subject: [PATCH 7/8] Log all HTTP server error messages Fastly sends them either in the `detail` or in the `msg` key. --- library/fastly_service.py | 95 ++++++++++++++++++++------------------- 1 file changed, 49 insertions(+), 46 deletions(-) diff --git a/library/fastly_service.py b/library/fastly_service.py index 88a41d7..c94b33b 100644 --- a/library/fastly_service.py +++ b/library/fastly_service.py @@ -157,6 +157,9 @@ def __init__(self, http_response, method, path): except Exception: raise Exception("Unable to parse HTTP response: method: %s, path: %s, status: %s, body: %s, headers: %s" % (method, path, http_response.status, http_response.read(), http_response.getheaders())) + def error(self): + return self.payload.get('detail', self.payload.get('msg')) + class FastlyObjectEncoder(json.JSONEncoder): def default(self, o): @@ -705,7 +708,7 @@ def clone_version(self, service_id, version_to_clone): response = self._request('/service/%s/version/%s/clone' % (urllib.quote(service_id, ''), version_to_clone), 'PUT') if response.status == 200: return response.payload - raise Exception("Could not clone version '%s' for service '%s': %s" % (version_to_clone, service_id, response.payload['detail'])) + raise Exception("Could not clone version '%s' for service '%s': %s" % (version_to_clone, service_id, response.error())) def get_service_by_name(self, service_name): response = self._request('/service/search?name=%s' % urllib.quote(service_name, '')) @@ -728,7 +731,7 @@ def create_service(self, service_name): response = self._request('/service', 'POST', {'name': service_name}) if response.status == 200: return self.get_service(response.payload['id']) - raise Exception("Error creating service with name '%s': %s" % (service_name, response.payload['detail'])) + raise Exception("Error creating service with name '%s': %s" % (service_name, response.error())) def delete_service(self, service_name, deactivate_active_version=True): service = self.get_service_by_name(service_name) @@ -739,7 +742,7 @@ def delete_service(self, service_name, deactivate_active_version=True): response = self._request('/service/%s' % urllib.quote(service.id, ''), 'DELETE') if response.status == 200: return True - raise Exception("Error deleting service with name '%s' (%s)" % (service_name, response.payload['detail'])) + raise Exception("Error deleting service with name '%s' (%s)" % (service_name, response.error())) def create_version(self, service_id): response = self._request('/service/%s/version' % urllib.quote(service_id, ''), 'POST') @@ -752,28 +755,28 @@ def activate_version(self, service_id, version): if response.status == 200: return response.payload raise Exception( - "Error activating version %s for service %s (%s)" % (version, service_id, response.payload['detail'])) + "Error activating version %s for service %s (%s)" % (version, service_id, response.error())) def deactivate_version(self, service_id, version): response = self._request('/service/%s/version/%s/deactivate' % (urllib.quote(service_id, ''), version), 'PUT') if response.status == 200: return response.payload raise Exception( - "Error deactivating version %s for service %s (%s)" % (version, service_id, response.payload['detail'])) + "Error deactivating version %s for service %s (%s)" % (version, service_id, response.error())) def get_domain_name(self, service_id, version): response = self._request('/service/%s/version/%s/domain' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving domain for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving domain for service %s, version %s (%s)" % (service_id, version, response.error())) def create_domain(self, service_id, version, domain): response = self._request('/service/%s/version/%s/domain' % (urllib.quote(service_id, ''), version), 'POST', domain) if response.status == 200: return response.payload raise Exception("Error creating domain for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_domain(self, service_id, version, domain): response = self._request('/service/%s/version/%s/domain/%s' % (urllib.quote(service_id, ''), version, urllib.quote(domain, '')), @@ -781,21 +784,21 @@ def delete_domain(self, service_id, version, domain): if response.status == 200: return response.payload raise Exception("Error deleting domain %s service %s, version %s (%s)" % (domain, service_id, version, - response.payload['detail'])) + response.error())) def get_healthcheck_name(self, service_id, version): response = self._request('/service/%s/version/%s/healthcheck' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception("Error getting healthcheck name service %s, version %s (%s)" % (service_id, version, - response.payload['detail'])) + response.error())) def create_healthcheck(self, service_id, version, healthcheck): response = self._request('/service/%s/version/%s/healthcheck' % (urllib.quote(service_id, ''), version), 'POST', healthcheck) if response.status == 200: return response.payload raise Exception("Error creating healthcheck for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_healthcheck(self, service_id, version, healthcheck): response = self._request('/service/%s/version/%s/healthcheck/%s' % (urllib.quote(service_id, ''), version, urllib.quote(healthcheck, '')), @@ -803,21 +806,21 @@ def delete_healthcheck(self, service_id, version, healthcheck): if response.status == 200: return response.payload raise Exception("Error deleting healthcheck %s service %s, version %s (%s)" % ( - healthcheck, service_id, version, response.payload['detail'])) + healthcheck, service_id, version, response.error())) def get_backend_name(self, service_id, version): response = self._request('/service/%s/version/%s/backend' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving backend for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving backend for service %s, version %s (%s)" % (service_id, version, response.error())) def create_backend(self, service_id, version, backend): response = self._request('/service/%s/version/%s/backend' % (urllib.quote(service_id, ''), version), 'POST', backend) if response.status == 200: return response.payload raise Exception("Error creating backend for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_backend(self, service_id, version, backend): response = self._request('/service/%s/version/%s/backend/%s' % (urllib.quote(service_id, ''), version, urllib.quote(backend, '')), @@ -825,20 +828,20 @@ def delete_backend(self, service_id, version, backend): if response.status == 200: return response.payload raise Exception("Error deleting backend %s service %s, version %s (%s)" % ( - backend, service_id, version, response.payload['detail'])) + backend, service_id, version, response.error())) def get_director_name(self, service_id, version): response = self._request('/service/%s/version/%s/director' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving director for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving director for service %s, version %s (%s)" % (service_id, version, response.error())) def create_director(self, service_id, version, director): response = self._request('/service/%s/version/%s/director' % (urllib.quote(service_id, ''), version), 'POST', director) if response.status != 200: raise Exception("Error creating director for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) payload = response.payload if director.backends is not None: @@ -846,7 +849,7 @@ def create_director(self, service_id, version, director): response = self._request('/service/%s/version/%s/director/%s/backend/%s' % (urllib.quote(service_id, ''), version, urllib.quote(director.name, ''), urllib.quote(backend, '')), 'POST') if response.status != 200: raise Exception("Error establishing a relationship between director %s and backend %s, service %s, version %s (%s)" % ( - director.name, backend, service_id, version, response.payload['detail'])) + director.name, backend, service_id, version, response.error())) return payload def delete_director(self, service_id, version, director): @@ -855,21 +858,21 @@ def delete_director(self, service_id, version, director): if response.status == 200: return response.payload raise Exception("Error deleting director %s service %s, version %s (%s)" % ( - director, service_id, version, response.payload['detail'])) + director, service_id, version, response.error())) def get_cache_settings_name(self, service_id, version): response = self._request('/service/%s/version/%s/cache_settings' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving cache_settings for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving cache_settings for service %s, version %s (%s)" % (service_id, version, response.error())) def create_cache_settings(self, service_id, version, cache_settings): response = self._request('/service/%s/version/%s/cache_settings' % (urllib.quote(service_id, ''), version), 'POST', cache_settings) if response.status == 200: return response.payload raise Exception("Error creating cache_settings for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_cache_settings(self, service_id, version, cache_settings): response = self._request('/service/%s/version/%s/cache_settings/%s' % (urllib.quote(service_id, ''), version, urllib.quote(cache_settings, '')), @@ -877,42 +880,42 @@ def delete_cache_settings(self, service_id, version, cache_settings): if response.status == 200: return response.payload raise Exception("Error deleting cache_settings %s service %s, version %s (%s)" % ( - cache_settings, service_id, version, response.payload['detail'])) + cache_settings, service_id, version, response.error())) def get_condition_name(self, service_id, version): response = self._request('/service/%s/version/%s/condition' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving condition for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving condition for service %s, version %s (%s)" % (service_id, version, response.error())) def create_condition(self, service_id, version, condition): response = self._request('/service/%s/version/%s/condition' % (urllib.quote(service_id, ''), version), 'POST', condition) if response.status == 200: return response.payload raise Exception("Error creating condition for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_condition(self, service_id, version, condition): response = self._request('/service/%s/version/%s/condition/%s' % (urllib.quote(service_id, ''), version, urllib.quote(condition, '')), 'DELETE') if response.status == 200: return response.payload raise Exception("Error deleting condition %s service %s, version %s (%s)" % ( - condition, service_id, version, response.payload['detail'])) + condition, service_id, version, response.error())) def get_gzip_name(self, service_id, version): response = self._request('/service/%s/version/%s/gzip' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving gzip for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving gzip for service %s, version %s (%s)" % (service_id, version, response.error())) def create_gzip(self, service_id, version, gzip): response = self._request('/service/%s/version/%s/gzip' % (urllib.quote(service_id, ''), version), 'POST', gzip) if response.status == 200: return response.payload raise Exception("Error creating gzip for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_gzip(self, service_id, version, gzip): response = self._request('/service/%s/version/%s/gzip/%s' % (urllib.quote(service_id, ''), version, urllib.quote(gzip, '')), @@ -920,35 +923,35 @@ def delete_gzip(self, service_id, version, gzip): if response.status == 200: return response.payload raise Exception("Error deleting gzip %s service %s, version %s (%s)" % ( - gzip, service_id, version, response.payload['detail'])) + gzip, service_id, version, response.error())) def get_header_name(self, service_id, version): response = self._request('/service/%s/version/%s/header' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving header for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving header for service %s, version %s (%s)" % (service_id, version, response.error())) def create_header(self, service_id, version, header): response = self._request('/service/%s/version/%s/header' % (urllib.quote(service_id, ''), version), 'POST', header) if response.status == 200: return response.payload raise Exception("Error creating header for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_header(self, service_id, version, header): response = self._request('/service/%s/version/%s/header/%s' % (urllib.quote(service_id, ''), version, urllib.quote(header, '')), 'DELETE') if response.status == 200: return response.payload - raise Exception("Error deleting header %s service %s, version %s (%s)" % (header, service_id, version, response.payload['detail'])) + raise Exception("Error deleting header %s service %s, version %s (%s)" % (header, service_id, version, response.error())) def get_request_settings_name(self, service_id, version): response = self._request('/service/%s/version/%s/request_settings' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving request_settings for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving request_settings for service %s, version %s (%s)" % (service_id, version, response.error())) def create_request_setting(self, service_id, version, request_setting): response = self._request('/service/%s/version/%s/request_settings' % (urllib.quote(service_id, ''), version), 'POST', @@ -956,7 +959,7 @@ def create_request_setting(self, service_id, version, request_setting): if response.status == 200: return response.payload raise Exception("Error creating request setting for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_request_settings(self, service_id, version, request_setting): response = self._request('/service/%s/version/%s/request_settings/%s' % (urllib.quote(service_id, ''), version, urllib.quote(request_setting, '')), @@ -964,14 +967,14 @@ def delete_request_settings(self, service_id, version, request_setting): if response.status == 200: return response.payload raise Exception("Error deleting request_setting %s service %s, version %s (%s)" % ( - request_setting, service_id, version, response.payload['detail'])) + request_setting, service_id, version, response.error())) def get_response_objects_name(self, service_id, version): response = self._request('/service/%s/version/%s/response_object' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving response_object for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving response_object for service %s, version %s (%s)" % (service_id, version, response.error())) def create_response_object(self, service_id, version, response_object): response = self._request('/service/%s/version/%s/response_object' % (urllib.quote(service_id, ''), version), 'POST', @@ -979,7 +982,7 @@ def create_response_object(self, service_id, version, response_object): if response.status == 200: return response.payload raise Exception("Error creating response object for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_response_object(self, service_id, version, response_object): response = self._request('/service/%s/version/%s/response_object/%s' % (urllib.quote(service_id, ''), version, urllib.quote(response_object, '')), @@ -987,21 +990,21 @@ def delete_response_object(self, service_id, version, response_object): if response.status == 200: return response.payload raise Exception("Error deleting response_object %s service %s, version %s (%s)" % ( - response_object, service_id, version, response.payload['detail'])) + response_object, service_id, version, response.error())) def get_vcl_snippet_name(self, service_id, version): response = self._request('/service/%s/version/%s/snippet' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving vcl snippt for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving vcl snippt for service %s, version %s (%s)" % (service_id, version, response.error())) def create_vcl_snippet(self, service_id, version, vcl_snippet): response = self._request('/service/%s/version/%s/snippet' % (urllib.quote(service_id, ''), version), 'POST', vcl_snippet) if response.status == 200: return response.payload - raise Exception("Error creating VCL snippet '%s' for service %s, version %s (%s)" % (vcl_snippet['name'], service_id, version, response.payload['detail'])) + raise Exception("Error creating VCL snippet '%s' for service %s, version %s (%s)" % (vcl_snippet['name'], service_id, version, response.error())) def delete_vcl_snippet(self, service_id, version, snippet): response = self._request('/service/%s/version/%s/snippet/%s' % (urllib.quote(service_id, ''), version, urllib.quote(snippet, '')), @@ -1009,14 +1012,14 @@ def delete_vcl_snippet(self, service_id, version, snippet): if response.status == 200: return response.payload raise Exception("Error deleting vcl snippet %s service %s, version %s (%s)" % ( - snippet, service_id, version, response.payload['detail'])) + snippet, service_id, version, response.error())) def get_s3_loggers(self, service_id, version): response = self._request('/service/%s/version/%s/logging/s3' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving S3 loggers for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving S3 loggers for service %s, version %s (%s)" % (service_id, version, response.error())) def create_s3_logger(self, service_id, version, s3): response = self._request('/service/%s/version/%s/logging/s3' % (service_id, version), 'POST', s3) @@ -1024,7 +1027,7 @@ def create_s3_logger(self, service_id, version, s3): if response.status == 200: return response.payload else: - raise Exception("Error creating S3 logger '%s' for service %s, version %s (%s)" % (s3.name, service_id, version, response.payload['detail'])) + raise Exception("Error creating S3 logger '%s' for service %s, version %s (%s)" % (s3.name, service_id, version, response.error())) def delete_s3_logger(self, service_id, version, s3_logger): response = self._request('/service/%s/version/%s/logging/s3/%s' % (urllib.quote(service_id, ''), version, urllib.quote(s3_logger, '')), @@ -1032,14 +1035,14 @@ def delete_s3_logger(self, service_id, version, s3_logger): if response.status == 200: return response.payload raise Exception("Error deleting S3 logger %s service %s, version %s (%s)" % ( - s3_logger, service_id, version, response.payload['detail'])) + s3_logger, service_id, version, response.error())) def get_syslog_loggers(self, service_id, version): response = self._request('/service/%s/version/%s/logging/syslog' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving syslog loggers for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving syslog loggers for service %s, version %s (%s)" % (service_id, version, response.error())) def create_syslog_logger(self, service_id, version, syslog): response = self._request('/service/%s/version/%s/logging/syslog' % (service_id, version), 'POST', syslog) @@ -1047,7 +1050,7 @@ def create_syslog_logger(self, service_id, version, syslog): if response.status == 200: return response.payload else: - raise Exception("Error creating syslog logger '%s' for service %s, version %s (%s)" % (syslog.name, service_id, version, response.payload['detail'])) + raise Exception("Error creating syslog logger '%s' for service %s, version %s (%s)" % (syslog.name, service_id, version, response.error())) def delete_syslog_logger(self, service_id, version, syslog_logger): response = self._request('/service/%s/version/%s/logging/syslog/%s' % (urllib.quote(service_id, ''), version, urllib.quote(syslog_logger, '')), @@ -1055,14 +1058,14 @@ def delete_syslog_logger(self, service_id, version, syslog_logger): if response.status == 200: return response.payload raise Exception("Error deleting syslog logger %s service %s, version %s (%s)" % ( - syslog_logger, service_id, version, response.payload['detail'])) + syslog_logger, service_id, version, response.error())) def create_settings(self, service_id, version, settings): response = self._request('/service/%s/version/%s/settings' % (urllib.quote(service_id, ''), version), 'PUT', settings) if response.status == 200: return response.payload raise Exception("Error creating settings for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) class FastlyStateEnforcerResult(object): From bf37f4e2346255294594c17c4c23bb6fa2a8cee3 Mon Sep 17 00:00:00 2001 From: Paul Seiffert Date: Thu, 31 May 2018 18:24:57 +0200 Subject: [PATCH 8/8] Remove nested response parsing --- library/fastly_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/fastly_service.py b/library/fastly_service.py index c94b33b..e1dbcc2 100644 --- a/library/fastly_service.py +++ b/library/fastly_service.py @@ -158,7 +158,7 @@ def __init__(self, http_response, method, path): raise Exception("Unable to parse HTTP response: method: %s, path: %s, status: %s, body: %s, headers: %s" % (method, path, http_response.status, http_response.read(), http_response.getheaders())) def error(self): - return self.payload.get('detail', self.payload.get('msg')) + return self.payload.get('detail') or self.payload.get('msg') class FastlyObjectEncoder(json.JSONEncoder):