From 136b6a6ba00782f85ac13bcaeff1486352bb0ae2 Mon Sep 17 00:00:00 2001 From: Lucas Romero Date: Wed, 30 May 2018 17:12:35 +0200 Subject: [PATCH] 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