diff --git a/README.md b/README.md index f4e7126..1cdf87f 100644 --- a/README.md +++ b/README.md @@ -173,6 +173,30 @@ $ ansible-galaxy install Jimdo.fastly | content | true | string | | | priority | false | integer | 100 | +### S3 Logging + +[Fastly documentation](https://docs.fastly.com/api/logging#logging_s3) + +| Field | Required | Type | Default | +|:----------------------------------|:---------|:-----------------------------------------------|:-------------------------------------| +| name | true | string | | +| access_key | false | string | | +| bucket_name | false | string | | +| domain | false | string | | +| format | false | string | %{%Y-%m-%dT%H:%M:%S}t %h "%r" %>s %b | +| format_version | false | integer | 1 | +| gzip_level | false | integer | 0 | +| message_type | false | enum ('classic', 'loggly', 'logplex', 'blank') | classic | +| path | false | string | / | +| period | false | integer | 3600 | +| placement | false | string | | +| redundancy | false | string | | +| response_condition | false | string | '' | +| secret_key | false | string | | +| server_side_encryption_kms_key_id | false | string | | +| server_side_encryption | fasle | string | | +| timestamp_format | false | string | %Y-%m-%dT%H | + ### Settings [Fastly documentation](https://docs.fastly.com/api/config#settings) diff --git a/library/fastly_service.py b/library/fastly_service.py index e921179..c75c2c7 100644 --- a/library/fastly_service.py +++ b/library/fastly_service.py @@ -62,6 +62,10 @@ required: false description: - List of VCL snippets + s3s: + required: false + description: + - List of S3 loggers settings: required: false description: @@ -510,6 +514,50 @@ def sort_key(f): return f.name +class FastlyS3Logging(FastlyObject): + schema = { + 'name': dict(required=True, type='str', default=None), + 'access_key': dict(required=False, type='str', default=None), + 'bucket_name': dict(required=False, type='str', default=None), + 'domain': dict(required=False, type='str', default=None), + 'format': dict(required=False, type='str', default='%{%Y-%m-%dT%H:%M:%S}t %h "%r" %>s %b'), + 'format_version': dict(required=False, type='int', default=2), + 'gzip_level': dict(required=False, type='int', default=0), + 'message_type': dict(required=False, type='str', default="classic", choices=['classic', 'loggly', 'logplex', 'blank', None]), + 'path': dict(required=False, type='str', default='/'), + 'period': dict(required=False, type='int', default=3600), + 'placement': dict(required=False, type='str', default=None), + 'redundancy': dict(required=False, type='str', default=None), + 'response_condition': dict(required=False, type='str', default=None, exclude_empty_str=True), + 'secret_key': dict(required=False, type='str', default=None), + 'server_side_encryption_kms_key_id': dict(required=False, type='str', default=None), + 'server_side_encryption': dict(required=False, type='str', default=None), + 'timestamp_format': dict(required=False, type='str', default='%Y-%m-%dT%H'), + } + + def __init__(self, config, validate_choices): + self.name = self.read_config(config, validate_choices, 'name') + self.access_key = self.read_config(config, validate_choices, 'access_key') + self.bucket_name = self.read_config(config, validate_choices, 'bucket_name') + self.domain = self.read_config(config, validate_choices, 'domain') + self.format = self.read_config(config, validate_choices, 'format') + self.format_version = self.read_config(config, validate_choices, 'format_version') + self.gzip_level = self.read_config(config, validate_choices, 'gzip_level') + self.message_type = self.read_config(config, validate_choices, 'message_type') + self.path = self.read_config(config, validate_choices, 'path') + self.period = self.read_config(config, validate_choices, 'period') + self.placement = self.read_config(config, validate_choices, 'placement') + self.redundancy = self.read_config(config, validate_choices, 'redundancy') + self.response_condition = self.read_config(config, validate_choices, 'response_condition') + self.secret_key = self.read_config(config, validate_choices, 'secret_key') + self.server_side_encryption_kms_key_id = self.read_config(config, validate_choices, 'server_side_encryption_kms_key_id') + self.server_side_encryption = self.read_config(config, validate_choices, 'server_side_encryption') + self.timestamp_format = self.read_config(config, validate_choices, 'timestamp_format') + + def sort_key(f): + return f.name + + class FastlySettings(FastlyObject): schema = { 'general.default_ttl': dict(required=False, type='int', default=3600) @@ -525,66 +573,20 @@ def to_json(self): class FastlyConfiguration(object): - def __init__(self, configuration, validate_choices=True): - self.domains = [] - self.healthchecks = [] - self.backends = [] - self.cache_settings = [] - self.conditions = [] - self.directors = [] - self.gzips = [] - self.headers = [] - self.response_objects = [] - self.request_settings = [] - self.snippets = [] - self.settings = FastlySettings(dict(), validate_choices) - - if 'domains' in configuration and configuration['domains'] is not None: - for domain in configuration['domains']: - self.domains.append(FastlyDomain(domain, validate_choices)) - - if 'healthchecks' in configuration and configuration['healthchecks'] is not None: - for healthcheck in configuration['healthchecks']: - self.healthchecks.append(FastlyHealthcheck(healthcheck, validate_choices)) - - if 'backends' in configuration and configuration['backends'] is not None: - for backend in configuration['backends']: - self.backends.append(FastlyBackend(backend, validate_choices)) - - if 'cache_settings' in configuration and configuration['cache_settings'] is not None: - for cache_settings in configuration['cache_settings']: - self.cache_settings.append(FastlyCacheSettings(cache_settings, validate_choices)) - - if 'conditions' in configuration and configuration['conditions'] is not None: - for condition in configuration['conditions']: - self.conditions.append(FastlyCondition(condition, validate_choices)) - - if 'directors' in configuration and configuration['directors'] is not None: - for director in configuration['directors']: - self.directors.append(FastlyDirector(director, validate_choices)) - - if 'gzips' in configuration and configuration['gzips'] is not None: - for gzip in configuration['gzips']: - self.gzips.append(FastlyGzip(gzip, validate_choices)) - - if 'headers' in configuration and configuration['headers'] is not None: - for header in configuration['headers']: - self.headers.append(FastlyHeader(header, validate_choices)) - - if 'request_settings' in configuration and configuration['request_settings'] is not None: - for request_setting in configuration['request_settings']: - self.request_settings.append(FastlyRequestSetting(request_setting, validate_choices)) - - if 'response_objects' in configuration and configuration['response_objects'] is not None: - for response_object in configuration['response_objects']: - self.response_objects.append(FastlyResponseObject(response_object, validate_choices)) - - if 'snippets' in configuration and configuration['snippets'] is not None: - for snippet in configuration['snippets']: - self.snippets.append(FastlyVclSnippet(snippet, validate_choices)) - - if 'settings' in configuration and configuration['settings'] is not None: - self.settings = FastlySettings(configuration['settings'], validate_choices) + def __init__(self, cfg, validate_choices=True): + self.domains = [FastlyDomain(d, validate_choices) for d in cfg.get('domains') or []] + self.healthchecks = [FastlyHealthcheck(h, validate_choices) for h in cfg.get('healthchecks') or []] + self.backends = [FastlyBackend(b, validate_choices) for b in cfg.get('backends') or []] + self.cache_settings = [FastlyCacheSettings(c, validate_choices) for c in cfg.get('cache_settings') or []] + self.conditions = [FastlyCondition(c, validate_choices) for c in cfg.get('conditions') or []] + self.directors = [FastlyDirector(d, validate_choices) for d in cfg.get('directors') or []] + self.gzips = [FastlyGzip(g, validate_choices) for g in cfg.get('gzips') or []] + self.headers = [FastlyHeader(h, validate_choices) for h in cfg.get('headers') or []] + self.response_objects = [FastlyResponseObject(r, validate_choices) for r in cfg.get('response_objects') or []] + self.request_settings = [FastlyRequestSetting(r, validate_choices) for r in cfg.get('request_settings') or []] + self.snippets = [FastlyVclSnippet(s, validate_choices) for s in cfg.get('snippets') or []] + self.s3s = [FastlyS3Logging(s, validate_choices) for s in cfg.get('s3s') or []] + self.settings = FastlySettings(cfg.get('settings', dict()), validate_choices) def __eq__(self, other): return sorted(self.domains, key=FastlyDomain.sort_key) == sorted(other.domains, key=FastlyDomain.sort_key) \ @@ -598,6 +600,7 @@ def __eq__(self, other): and sorted(self.request_settings, key=FastlyRequestSetting.sort_key) == sorted(other.request_settings, key=FastlyRequestSetting.sort_key) \ and sorted(self.response_objects, key=FastlyResponseObject.sort_key) == sorted(other.response_objects, key=FastlyResponseObject.sort_key) \ and sorted(self.snippets, key=FastlyVclSnippet.sort_key) == sorted(other.snippets, key=FastlyVclSnippet.sort_key) \ + and sorted(self.s3s, key=FastlyS3Logging.sort_key) == sorted(other.s3s, key=FastlyS3Logging.sort_key) \ and self.settings == other.settings def __ne__(self, other): @@ -963,6 +966,29 @@ def delete_vcl_snippet(self, service_id, version, snippet): raise Exception("Error deleting vcl snippet %s service %s, version %s (%s)" % ( snippet, service_id, version, response.payload['detail'])) + def get_s3_loggers(self, service_id, version): + response = self._request('/service/%s/version/%s/logging/s3' % (urllib.quote(service_id, ''), version), 'GET') + if response.status == 200: + return response.payload + raise Exception( + "Error retrieving S3 loggers for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + + def create_s3_logger(self, service_id, version, s3): + response = self._request('/service/%s/version/%s/logging/s3' % (service_id, version), 'POST', s3) + + if response.status == 200: + return response.payload + else: + raise Exception("Error creating S3 logger '%s' for service %s, version %s (%s)" % (s3.name, service_id, version, response.payload['detail'])) + + def delete_s3_logger(self, service_id, version, s3_logger): + response = self._request('/service/%s/version/%s/logging/s3/%s' % (urllib.quote(service_id, ''), version, urllib.quote(s3_logger, '')), + 'DELETE') + if response.status == 200: + return response.payload + raise Exception("Error deleting S3 logger %s service %s, version %s (%s)" % ( + s3_logger, service_id, version, response.payload['detail'])) + def create_settings(self, service_id, version, settings): response = self._request('/service/%s/version/%s/settings' % (urllib.quote(service_id, ''), version), 'PUT', settings) if response.status == 200: @@ -1037,6 +1063,7 @@ def reset_version(self, service_id, version_to_delete): request_settings = self.client.get_request_settings_name(service_id, version_to_delete) response_objects = self.client.get_response_objects_name(service_id, version_to_delete) snippets = self.client.get_vcl_snippet_name(service_id, version_to_delete) + s3_loggers = self.client.get_s3_loggers(service_id, version_to_delete) for domain_name in domain: self.client.delete_domain(service_id, version_to_delete, domain_name['name']) @@ -1071,6 +1098,9 @@ def reset_version(self, service_id, version_to_delete): for vcl_snippet_name in snippets: self.client.delete_vcl_snippet(service_id, version_to_delete, vcl_snippet_name['name']) + for s3_logger in s3_loggers: + self.client.delete_s3_logger(service_id, version_to_delete, s3_logger['name']) + def configure_version(self, service_id, configuration, version_number): for domain in configuration.domains: self.client.create_domain(service_id, version_number, domain) @@ -1108,6 +1138,9 @@ def configure_version(self, service_id, configuration, version_number): for vcl_snippet in configuration.snippets: self.client.create_vcl_snippet(service_id, version_number, vcl_snippet) + for s3 in configuration.s3s: + self.client.create_s3_logger(service_id, version_number, s3) + if configuration.settings: self.client.create_settings(service_id, version_number, configuration.settings) @@ -1146,6 +1179,7 @@ def __init__(self): request_settings=dict(default=None, required=False, type='list'), response_objects=dict(default=None, required=False, type='list'), vcl_snippets=dict(default=None, required=False, type='list'), + s3s=dict(default=None, required=False, type='list'), settings=dict(default=None, required=False, type='dict'), ), supports_check_mode=False @@ -1174,6 +1208,7 @@ def configuration(self): 'request_settings': self.module.params['request_settings'], 'response_objects': self.module.params['response_objects'], 'snippets': self.module.params['vcl_snippets'], + 's3s': self.module.params['s3s'], 'settings': self.module.params['settings'] }) except FastlyValidationError as err: diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml index 77e9208..d1c7b3a 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml @@ -6,82 +6,82 @@ 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":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:42Z","deployed":false},{"testing":false,"number":2,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"updated_at":"2018-04-10T14:39:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:43Z","comment":""}],"created_at":"2018-04-10T14:39:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:42Z","id":"2T6RaPUWpO8jsWHVVNXvc"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":""}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['918'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:53 GMT'] + date: ['Tue, 29 May 2018 21:43: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: ['S1523371193.167579,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630191.996520,VS0,VE143'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/details + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/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":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:42Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:43Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:51Z","deployed":false}],"created_at":"2018-04-10T14:39:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:42Z","id":"2T6RaPUWpO8jsWHVVNXvc","version":{"testing":false,"number":2,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"updated_at":"2018-04-10T14:39:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39: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":[{"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":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"updated_at":"2018-04-10T14:39:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39: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":[{"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-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4056'] + content-length: ['4425'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:53 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19142-FRA'] - x-timer: ['S1523371193.375692,VS0,VE109'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630191.216085,VS0,VE111'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/deactivate + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:43Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:51Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['230'] + content-length: ['231'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:54 GMT'] - fastly-ratelimit-remaining: ['990'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:11 GMT'] + fastly-ratelimit-remaining: ['956'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1523371194.550275,VS0,VE507'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630191.399244,VS0,VE547'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:54 GMT'] - fastly-ratelimit-remaining: ['989'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:12 GMT'] + fastly-ratelimit-remaining: ['955'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371194.307502,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] + x-timer: ['S1527630192.028156,VS0,VE389'] 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 107d41f..4fe9a6b 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml @@ -6,105 +6,106 @@ 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":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:39:06Z","active":true,"number":2,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:39:00Z","comment":""}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['111'] + content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:41 GMT'] - status: [404 Not Found] + date: ['Tue, 29 May 2018 21:42: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-fra19120-FRA'] - x-timer: ['S1523371181.445569,VS0,VE402'] - status: {code: 404, message: Not Found} + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630177.294302,VS0,VE402'] + 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/5RPRT0ug3oh6PWUBXrjSAH/details response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"07e63d54c714f425b7ab46fc1e217db4cd46e61c","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:42Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:39:42Z","comment":"","updated_at":"2018-04-10T14:39:42Z","id":"2T6RaPUWpO8jsWHVVNXvc"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:06Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:39:06Z","active":true,"number":2,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:39:00Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:39:06Z","active":true,"number":2,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:39:00Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['510'] + content-length: ['3993'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:42 GMT'] - fastly-ratelimit-remaining: ['999'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:42: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: ['S1523371182.908991,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630178.796532,VS0,VE403'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/details + method: PUT + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/2/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":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:42Z","deployed":false}],"created_at":"2018-04-10T14:39:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:42Z","id":"2T6RaPUWpO8jsWHVVNXvc","version":{"testing":false,"number":1,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"updated_at":"2018-04-10T14:39:42Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:39:42Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:06Z","deployed":false}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1038'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:42 GMT'] + date: ['Tue, 29 May 2018 21:42:58 GMT'] + fastly-ratelimit-remaining: ['968'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371183.518086,VS0,VE481'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630178.288710,VS0,VE283'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/1/clone + method: GET + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/domain response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:42Z","deployed":false}'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","created_at":"2018-05-29T21:39:03Z","comment":"","updated_at":"2018-05-29T21:39:03Z"}]'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['181'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:43 GMT'] - fastly-ratelimit-remaining: ['998'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:42: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: ['S1523371183.139547,VS0,VE461'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630179.646402,VS0,VE408'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/domain + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/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: ['Tue, 10 Apr 2018 14:39:43 GMT'] + date: ['Tue, 29 May 2018 21:42: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-fra19122-FRA'] - x-timer: ['S1523371184.768876,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527630179.129173,VS0,VE367'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/healthcheck + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -138,45 +139,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:44 GMT'] + date: ['Tue, 29 May 2018 21:42: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-fra19129-FRA'] - x-timer: ['S1523371184.943614,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] + x-timer: ['S1527630180.571617,VS0,VE370'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/condition + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/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-29T21:39:04Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:39:04Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:44 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19141-FRA'] - x-timer: ['S1523371184.129513,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630180.015519,VS0,VE420'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/backend + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +187,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:44 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19130-FRA'] - x-timer: ['S1523371185.606774,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630181.511347,VS0,VE942'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/director + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:44 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19133-FRA'] - x-timer: ['S1523371185.789672,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] + x-timer: ['S1527630182.527026,VS0,VE377'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/cache_settings + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -234,45 +235,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:45 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19139-FRA'] - x-timer: ['S1523371185.973041,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630182.979240,VS0,VE374'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/gzip + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/header response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"5RPRT0ug3oh6PWUBXrjSAH","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:39:04Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:39:04Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['415'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:45 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19133-FRA'] - x-timer: ['S1523371185.446791,VS0,VE400'] + x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] + x-timer: ['S1527630182.424089,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/header + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -282,45 +284,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:46 GMT'] + date: ['Tue, 29 May 2018 21:43: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: ['S1523371186.064643,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630183.615324,VS0,VE377'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/request_settings + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/response_object response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set + 200 status code","content":"","deleted_at":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","cache_condition":"","created_at":"2018-05-29T21:39:05Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:39:05Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['280'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:47 GMT'] + date: ['Tue, 29 May 2018 21:43: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: ['S1523371187.694993,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630183.064580,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/response_object + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +333,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:47 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19128-FRA'] - x-timer: ['S1523371187.221053,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] + x-timer: ['S1527630183.257873,VS0,VE364'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/snippet + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -354,39 +357,139 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:48 GMT'] + date: ['Tue, 29 May 2018 21:43: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-ams4429-AMS'] + x-timer: ['S1527630184.695888,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/domain/example8000.com + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:04 GMT'] + fastly-ratelimit-remaining: ['967'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630184.890099,VS0,VE416'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/backend/localhost + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:04 GMT'] + fastly-ratelimit-remaining: ['966'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371188.739533,VS0,VE383'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630184.379779,VS0,VE426'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/header/Set%20Location%20header + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:05 GMT'] + fastly-ratelimit-remaining: ['965'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630185.882794,VS0,VE412'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/response_object/Set%20200%20status%20code + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:05 GMT'] + fastly-ratelimit-remaining: ['964'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630185.369529,VS0,VE427'] 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/2T6RaPUWpO8jsWHVVNXvc/version/2/domain + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2T6RaPUWpO8jsWHVVNXvc","version":2,"deleted_at":null,"created_at":"2018-04-10T14:39:48Z","updated_at":"2018-04-10T14:39:48Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":3,"deleted_at":null,"created_at":"2018-05-29T21:43:06Z","updated_at":"2018-05-29T21:43:06Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['178'] + content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:48 GMT'] - fastly-ratelimit-remaining: ['997'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:06 GMT'] + fastly-ratelimit-remaining: ['963'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371188.184762,VS0,VE291'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630186.873248,VS0,VE436'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -397,25 +500,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/backend + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/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":"2T6RaPUWpO8jsWHVVNXvc","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:39: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-04-10T14:39:48Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:06Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:06Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:48 GMT'] - fastly-ratelimit-remaining: ['996'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:06 GMT'] + fastly-ratelimit-remaining: ['962'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371189.570244,VS0,VE422'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630186.385770,VS0,VE476'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": null, "stale_ttl": 10, "name": "cache-settings-config-name", @@ -423,25 +526,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/cache_settings + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/cache_settings response: - body: {string: !!python/unicode '{"action":null,"stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"2T6RaPUWpO8jsWHVVNXvc","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-04-10T14:39:49Z","updated_at":"2018-04-10T14:39:49Z"}'} + body: {string: !!python/unicode '{"action":null,"stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-05-29T21:43:07Z","updated_at":"2018-05-29T21:43:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['239'] + content-length: ['240'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:49 GMT'] - fastly-ratelimit-remaining: ['995'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:07 GMT'] + fastly-ratelimit-remaining: ['961'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371189.202101,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630187.937021,VS0,VE393'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -451,26 +554,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/header + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/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":"2T6RaPUWpO8jsWHVVNXvc","version":"2","updated_at":"2018-04-10T14:39:50Z","deleted_at":null,"created_at":"2018-04-10T14:39:50Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":"3","updated_at":"2018-05-29T21:43:07Z","deleted_at":null,"created_at":"2018-05-29T21:43:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['412'] + content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:50 GMT'] - fastly-ratelimit-remaining: ['994'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:07 GMT'] + fastly-ratelimit-remaining: ['960'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1523371190.679571,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630187.407323,VS0,VE431'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -478,104 +581,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/response_object + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/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":"2T6RaPUWpO8jsWHVVNXvc","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:39:50Z","updated_at":"2018-04-10T14:39:50Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:08Z","updated_at":"2018-05-29T21:43:08Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:50 GMT'] - fastly-ratelimit-remaining: ['993'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:08 GMT'] + fastly-ratelimit-remaining: ['959'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371190.255120,VS0,VE429'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630188.911529,VS0,VE402'] 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/2T6RaPUWpO8jsWHVVNXvc/version/2/settings + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2T6RaPUWpO8jsWHVVNXvc"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"5RPRT0ug3oh6PWUBXrjSAH"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:50 GMT'] - fastly-ratelimit-remaining: ['992'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:08 GMT'] + fastly-ratelimit-remaining: ['958'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371191.770604,VS0,VE211'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630188.389108,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/version/2/activate + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:43Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:50Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:08Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:51 GMT'] - fastly-ratelimit-remaining: ['991'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:09 GMT'] + fastly-ratelimit-remaining: ['957'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371191.039471,VS0,VE676'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630189.594701,VS0,VE1191'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/details + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/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":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:42Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:43Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:51Z","deployed":false}],"created_at":"2018-04-10T14:39:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:42Z","id":"2T6RaPUWpO8jsWHVVNXvc","version":{"testing":false,"number":2,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"updated_at":"2018-04-10T14:39:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39: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":[{"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":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"updated_at":"2018-04-10T14:39:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39: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":[{"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-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4056'] + content-length: ['4425'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:51 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19129-FRA'] - x-timer: ['S1523371192.815637,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] + x-timer: ['S1527630190.860836,VS0,VE141'] status: {code: 200, message: OK} - request: body: null @@ -584,77 +687,77 @@ 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":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:42Z","deployed":false},{"testing":false,"number":2,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"updated_at":"2018-04-10T14:39:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:43Z","comment":""}],"created_at":"2018-04-10T14:39:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:42Z","id":"2T6RaPUWpO8jsWHVVNXvc"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":""}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['918'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:52 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19135-FRA'] - x-timer: ['S1523371192.042927,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630190.076405,VS0,VE392'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/details + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/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":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:42Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:43Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:51Z","deployed":false}],"created_at":"2018-04-10T14:39:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:42Z","id":"2T6RaPUWpO8jsWHVVNXvc","version":{"testing":false,"number":2,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"updated_at":"2018-04-10T14:39:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39: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":[{"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":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"updated_at":"2018-04-10T14:39:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39: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":[{"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-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4056'] + content-length: ['4425'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:52 GMT'] + date: ['Tue, 29 May 2018 21:43: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: ['S1523371192.248660,VS0,VE315'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630191.593971,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2T6RaPUWpO8jsWHVVNXvc/details + uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/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":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:42Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"created_at":"2018-04-10T14:39:43Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:51Z","deployed":false}],"created_at":"2018-04-10T14:39:42Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:42Z","id":"2T6RaPUWpO8jsWHVVNXvc","version":{"testing":false,"number":2,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"updated_at":"2018-04-10T14:39:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39: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":[{"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":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"2T6RaPUWpO8jsWHVVNXvc","staging":false,"updated_at":"2018-04-10T14:39:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39: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":[{"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-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4056'] + content-length: ['4425'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:53 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19126-FRA'] - x-timer: ['S1523371193.755856,VS0,VE326'] + x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] + x-timer: ['S1527630191.787009,VS0,VE111'] 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 11f5f7a..c1b757a 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:54 GMT'] + date: ['Tue, 29 May 2018 21:43:12 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-fra19142-FRA'] - x-timer: ['S1523371195.519474,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630193.509213,VS0,VE120'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,79 +32,79 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"a05650fa2e24a3f186fdde87d846677b6179cb8d","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:39:55Z","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu"}'} + Ansible Module Test","publish_key":"7c898e2ffb971351353c684893809007f4235f34","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:43:13Z","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['510'] + content-length: ['512'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:55 GMT'] - fastly-ratelimit-remaining: ['988'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:13 GMT'] + fastly-ratelimit-remaining: ['954'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371195.693841,VS0,VE433'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630193.702191,VS0,VE386'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/details + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu","version":{"testing":false,"number":1,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:39:55Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:39:55Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:13Z","active":false,"number":1,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:43:13Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1038'] + content-length: ['1107'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:55 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19145-FRA'] - x-timer: ['S1523371195.191618,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630193.257057,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/1/clone + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:56 GMT'] - fastly-ratelimit-remaining: ['987'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:14 GMT'] + fastly-ratelimit-remaining: ['953'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371196.788509,VS0,VE485'] + x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] + x-timer: ['S1527630194.769556,VS0,VE445'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/domain + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:56 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19149-FRA'] - x-timer: ['S1523371197.509947,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] + x-timer: ['S1527630194.290587,VS0,VE360'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/healthcheck + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:57 GMT'] + date: ['Tue, 29 May 2018 21:43: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: ['S1523371197.686326,VS0,VE391'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630195.726105,VS0,VE360'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/condition + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:57 GMT'] + date: ['Tue, 29 May 2018 21:43: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: ['S1523371197.140789,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] + x-timer: ['S1527630195.158800,VS0,VE377'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/backend + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:58 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19129-FRA'] - x-timer: ['S1523371198.767298,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630196.610762,VS0,VE367'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/director + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:58 GMT'] + date: ['Tue, 29 May 2018 21:43: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: ['S1523371198.291375,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630196.052901,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/cache_settings + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:58 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19121-FRA'] - x-timer: ['S1523371198.466986,VS0,VE380'] + x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] + x-timer: ['S1527630196.244778,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/gzip + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:59 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19151-FRA'] - x-timer: ['S1523371199.906219,VS0,VE379'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630196.434761,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/header + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:39:59 GMT'] + date: ['Tue, 29 May 2018 21:43: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: ['S1523371199.443108,VS0,VE400'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630197.625886,VS0,VE153'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/request_settings + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:00 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19134-FRA'] - x-timer: ['S1523371200.907743,VS0,VE385'] + x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] + x-timer: ['S1527630197.849942,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/response_object + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:00 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19141-FRA'] - x-timer: ['S1523371200.487709,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630197.044051,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/snippet + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,39 +354,63 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:00 GMT'] + date: ['Tue, 29 May 2018 21:43: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: ['S1523371201.671679,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630198.534183,VS0,VE113'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/logging/s3 + 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: ['Tue, 29 May 2018 21:43: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-ams4146-AMS'] + x-timer: ['S1527630198.719993,VS0,VE120'] 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/GqfF5W0xBGci91Iz0tFpu/version/2/domain + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"GqfF5W0xBGci91Iz0tFpu","version":2,"deleted_at":null,"created_at":"2018-04-10T14:40:01Z","updated_at":"2018-04-10T14:40:01Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2ElZpLWBqaLapYb4nPpjID","version":2,"deleted_at":null,"created_at":"2018-05-29T21:43:18Z","updated_at":"2018-05-29T21:43:18Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['178'] + content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:01 GMT'] - fastly-ratelimit-remaining: ['986'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:18 GMT'] + fastly-ratelimit-remaining: ['952'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1523371201.851097,VS0,VE455'] + x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] + x-timer: ['S1527630198.913100,VS0,VE455'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -397,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/backend + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:40:01Z","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-04-10T14:40:01Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:18Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:18Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:01 GMT'] - fastly-ratelimit-remaining: ['985'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:18 GMT'] + fastly-ratelimit-remaining: ['951'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523371202.522003,VS0,VE468'] + x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] + x-timer: ['S1527630198.444695,VS0,VE413'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": "pass", "stale_ttl": 10, "name": "cache-settings-config-name", @@ -423,25 +447,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/cache_settings + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/cache_settings response: - body: {string: !!python/unicode '{"action":"pass","stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"GqfF5W0xBGci91Iz0tFpu","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-04-10T14:40:02Z","updated_at":"2018-04-10T14:40:02Z"}'} + body: {string: !!python/unicode '{"action":"pass","stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-29T21:43:19Z","updated_at":"2018-05-29T21:43:19Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['241'] + content-length: ['242'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:02 GMT'] - fastly-ratelimit-remaining: ['984'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:19 GMT'] + fastly-ratelimit-remaining: ['950'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371202.155599,VS0,VE441'] + x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] + x-timer: ['S1527630199.932194,VS0,VE143'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -451,26 +475,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/header + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","version":"2","updated_at":"2018-04-10T14:40:02Z","deleted_at":null,"created_at":"2018-04-10T14:40:02Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":"2","updated_at":"2018-05-29T21:43:19Z","deleted_at":null,"created_at":"2018-05-29T21:43:19Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['412'] + content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:02 GMT'] - fastly-ratelimit-remaining: ['983'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:19 GMT'] + fastly-ratelimit-remaining: ['949'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371203.659577,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] + x-timer: ['S1527630199.148569,VS0,VE149'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -478,104 +502,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/response_object + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:40:03Z","updated_at":"2018-04-10T14:40:03Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:19Z","updated_at":"2018-05-29T21:43:19Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:03 GMT'] - fastly-ratelimit-remaining: ['982'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:19 GMT'] + fastly-ratelimit-remaining: ['948'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1523371203.882636,VS0,VE437'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630199.372114,VS0,VE389'] 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/GqfF5W0xBGci91Iz0tFpu/version/2/settings + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"GqfF5W0xBGci91Iz0tFpu"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2ElZpLWBqaLapYb4nPpjID"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:03 GMT'] - fastly-ratelimit-remaining: ['981'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:20 GMT'] + fastly-ratelimit-remaining: ['947'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371203.409474,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] + x-timer: ['S1527630200.838435,VS0,VE415'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/activate + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:03Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:19Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:04 GMT'] - fastly-ratelimit-remaining: ['980'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:20 GMT'] + fastly-ratelimit-remaining: ['946'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1523371204.914637,VS0,VE906'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630200.332424,VS0,VE650'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/details + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:04Z","deployed":false}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu","version":{"testing":false,"number":2,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:04Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:56Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":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":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:04Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:56Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":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-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4060'] + content-length: ['4197'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:05 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19134-FRA'] - x-timer: ['S1523371205.880517,VS0,VE136'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630201.057266,VS0,VE143'] status: {code: 200, message: OK} - request: body: null @@ -584,77 +608,77 @@ 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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"number":2,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:04Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:56Z","comment":""}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:05 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19146-FRA'] - x-timer: ['S1523371205.084737,VS0,VE187'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630201.278349,VS0,VE145'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/details + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:04Z","deployed":false}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu","version":{"testing":false,"number":2,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:04Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:56Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":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":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:04Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:56Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":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-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4060'] + content-length: ['4197'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:05 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19125-FRA'] - x-timer: ['S1523371205.337654,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630201.495782,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/details + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:04Z","deployed":false}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu","version":{"testing":false,"number":2,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:04Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:56Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":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":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:04Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:56Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":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-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4060'] + content-length: ['4197'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:05 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19130-FRA'] - x-timer: ['S1523371206.535478,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630202.728371,VS0,VE112'] 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 97a7db9..8e93f40 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,106 +6,106 @@ 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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"number":2,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:04Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:56Z","comment":""}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['683'] + content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:05 GMT'] + date: ['Tue, 29 May 2018 21:43: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: ['S1523371206.778789,VS0,VE136'] + x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] + x-timer: ['S1527630202.982744,VS0,VE140'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/details + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:04Z","deployed":false}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu","version":{"testing":false,"number":2,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:04Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:56Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":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":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:04Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:39:56Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":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-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4060'] + content-length: ['4197'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:06 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19137-FRA'] - x-timer: ['S1523371206.977425,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] + x-timer: ['S1527630202.200126,VS0,VE108'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/2/clone + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:04Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:06 GMT'] - fastly-ratelimit-remaining: ['979'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:22 GMT'] + fastly-ratelimit-remaining: ['945'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1523371206.160293,VS0,VE477'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630202.382328,VS0,VE455'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/domain + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"GqfF5W0xBGci91Iz0tFpu","created_at":"2018-04-10T14:40:01Z","comment":"","updated_at":"2018-04-10T14:40:01Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","created_at":"2018-05-29T21:43:18Z","comment":"","updated_at":"2018-05-29T21:43:18Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['180'] + content-length: ['181'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:06 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19125-FRA'] - x-timer: ['S1523371207.694382,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630203.913589,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/healthcheck + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:06 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19137-FRA'] - x-timer: ['S1523371207.880901,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630203.100291,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/condition + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,45 +139,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:07 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19140-FRA'] - x-timer: ['S1523371207.058029,VS0,VE381'] + x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] + x-timer: ['S1527630203.328594,VS0,VE111'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/backend + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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-04-10T14:40:01Z","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":"GqfF5W0xBGci91Iz0tFpu","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-04-10T14:40:01Z","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-29T21:43:18Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:43:18Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['717'] + content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:07 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19137-FRA'] - x-timer: ['S1523371208.587804,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] + x-timer: ['S1527630204.514114,VS0,VE367'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/director + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,45 +187,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:08 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19132-FRA'] - x-timer: ['S1523371208.773999,VS0,VE383'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630204.955810,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/cache_settings + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","cache_condition":"","created_at":"2018-04-10T14:40:02Z","action":"pass","updated_at":"2018-04-10T14:40:02Z"}]'} + body: {string: !!python/unicode '[{"stale_ttl":"10","version":"3","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:19Z","action":"pass","updated_at":"2018-05-29T21:43:19Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['245'] + content-length: ['246'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:08 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19124-FRA'] - x-timer: ['S1523371208.422667,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630204.439673,VS0,VE365'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/gzip + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,46 +235,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:09 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19133-FRA'] - x-timer: ['S1523371209.044324,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630205.878218,VS0,VE404'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/header + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"GqfF5W0xBGci91Iz0tFpu","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T14:40:02Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-04-10T14:40:02Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"2ElZpLWBqaLapYb4nPpjID","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:43:19Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:43:19Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['414'] + content-length: ['415'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:09 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19121-FRA'] - x-timer: ['S1523371210.676807,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] + x-timer: ['S1527630205.357292,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/request_settings + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,46 +284,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:10 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19126-FRA'] - x-timer: ['S1523371210.857753,VS0,VE381'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527630206.539607,VS0,VE110'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/response_object + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","cache_condition":"","created_at":"2018-04-10T14:40:03Z","content_type":"","request_condition":"","updated_at":"2018-04-10T14:40:03Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:19Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:43:19Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['279'] + content-length: ['280'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:10 GMT'] + date: ['Tue, 29 May 2018 21:43: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: ['S1523371211.511520,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527630206.719285,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/snippet + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +333,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:11 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19124-FRA'] - x-timer: ['S1523371211.138311,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] + x-timer: ['S1527630206.905040,VS0,VE155'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/logging/s3 + 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: ['Tue, 29 May 2018 21:43: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-ams4134-AMS'] + x-timer: ['S1527630206.127400,VS0,VE376'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/domain/example8000.com + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -356,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:11 GMT'] - fastly-ratelimit-remaining: ['978'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:26 GMT'] + fastly-ratelimit-remaining: ['944'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371211.331914,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] + x-timer: ['S1527630207.631252,VS0,VE316'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/backend/localhost + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -381,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:12 GMT'] - fastly-ratelimit-remaining: ['977'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:27 GMT'] + fastly-ratelimit-remaining: ['943'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371212.553858,VS0,VE448'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630207.022662,VS0,VE495'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/cache_settings/cache-settings-config-name + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/cache_settings/cache-settings-config-name response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -406,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:12 GMT'] - fastly-ratelimit-remaining: ['976'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:27 GMT'] + fastly-ratelimit-remaining: ['942'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371212.066358,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630208.592487,VS0,VE214'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -431,23 +455,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:12 GMT'] - fastly-ratelimit-remaining: ['975'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:28 GMT'] + fastly-ratelimit-remaining: ['941'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371213.599471,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630208.883270,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -456,41 +480,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:12 GMT'] - fastly-ratelimit-remaining: ['974'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:28 GMT'] + fastly-ratelimit-remaining: ['940'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371213.823760,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630208.384157,VS0,VE511'] 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/GqfF5W0xBGci91Iz0tFpu/version/3/domain + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"GqfF5W0xBGci91Iz0tFpu","version":3,"deleted_at":null,"created_at":"2018-04-10T14:40:13Z","updated_at":"2018-04-10T14:40:13Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2ElZpLWBqaLapYb4nPpjID","version":3,"deleted_at":null,"created_at":"2018-05-29T21:43:29Z","updated_at":"2018-05-29T21:43:29Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['178'] + content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:13 GMT'] - fastly-ratelimit-remaining: ['973'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:29 GMT'] + fastly-ratelimit-remaining: ['939'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371213.050039,VS0,VE193'] + x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] + x-timer: ['S1527630209.969415,VS0,VE486'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -501,25 +525,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/backend + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:40:13Z","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-04-10T14:40:13Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:29Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:29Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:13 GMT'] - fastly-ratelimit-remaining: ['972'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:29 GMT'] + fastly-ratelimit-remaining: ['938'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1523371213.304968,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630210.530578,VS0,VE235'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": null, "stale_ttl": 0, "name": "cache-settings-config-name", @@ -527,25 +551,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/cache_settings + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/cache_settings response: - body: {string: !!python/unicode '{"action":null,"stale_ttl":0,"name":"cache-settings-config-name","cache_condition":"","service_id":"GqfF5W0xBGci91Iz0tFpu","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-04-10T14:40:14Z","updated_at":"2018-04-10T14:40:14Z"}'} + body: {string: !!python/unicode '{"action":null,"stale_ttl":0,"name":"cache-settings-config-name","cache_condition":"","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-05-29T21:43:30Z","updated_at":"2018-05-29T21:43:30Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['238'] + content-length: ['239'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:14 GMT'] - fastly-ratelimit-remaining: ['971'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:30 GMT'] + fastly-ratelimit-remaining: ['937'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371214.792582,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527630210.840279,VS0,VE397'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -555,26 +579,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/header + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","version":"3","updated_at":"2018-04-10T14:40:14Z","deleted_at":null,"created_at":"2018-04-10T14:40:14Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":"3","updated_at":"2018-05-29T21:43:30Z","deleted_at":null,"created_at":"2018-05-29T21:43:30Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['412'] + content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:14 GMT'] - fastly-ratelimit-remaining: ['970'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:30 GMT'] + fastly-ratelimit-remaining: ['936'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371214.269231,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630210.313228,VS0,VE440'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -582,103 +606,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/response_object + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:40:14Z","updated_at":"2018-04-10T14:40:14Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:31Z","updated_at":"2018-05-29T21:43:31Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:15 GMT'] - fastly-ratelimit-remaining: ['969'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:31 GMT'] + fastly-ratelimit-remaining: ['935'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371215.884927,VS0,VE146'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630211.830051,VS0,VE393'] 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/GqfF5W0xBGci91Iz0tFpu/version/3/settings + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"GqfF5W0xBGci91Iz0tFpu"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2ElZpLWBqaLapYb4nPpjID"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:15 GMT'] - fastly-ratelimit-remaining: ['968'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:31 GMT'] + fastly-ratelimit-remaining: ['934'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371215.092473,VS0,VE178'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630211.316997,VS0,VE415'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/activate + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:40:06Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:14Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:31Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:15 GMT'] - fastly-ratelimit-remaining: ['967'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:32 GMT'] + fastly-ratelimit-remaining: ['933'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371215.332946,VS0,VE618'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630212.802475,VS0,VE835'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/details + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:40:06Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu","version":{"testing":false,"number":3,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:15Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":[{"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":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:15Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":[{"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-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4285'] + content-length: ['4423'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:16 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19125-FRA'] - x-timer: ['S1523371216.017372,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] + x-timer: ['S1527630213.711961,VS0,VE392'] status: {code: 200, message: OK} - request: body: null @@ -687,75 +712,77 @@ 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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false},{"testing":false,"number":3,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:15Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:06Z","comment":""}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['914'] + content-length: ['918'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:16 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19135-FRA'] - x-timer: ['S1523371216.221077,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527630213.179149,VS0,VE399'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/details + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:40:06Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu","version":{"testing":false,"number":3,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:15Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":[{"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":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:15Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":[{"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-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4285'] + content-length: ['4423'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:17 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19146-FRA'] - x-timer: ['S1523371217.790219,VS0,VE381'] + x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] + x-timer: ['S1527630214.650810,VS0,VE110'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/details + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:40:06Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu","version":{"testing":false,"number":3,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:15Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":[{"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":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:15Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":[{"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-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4285'] + content-length: ['4423'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:17 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19130-FRA'] - x-timer: ['S1523371217.280025,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630214.843061,VS0,VE119'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml b/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml index 42537f3..b49d5a7 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml @@ -6,84 +6,84 @@ 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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:40:06Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:14Z","deployed":false},{"testing":false,"number":4,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:42:14Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:05Z","comment":""}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","comment":""}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1145'] + content-length: ['918'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:15 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19135-FRA'] - x-timer: ['S1523371335.221469,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630371.813537,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/details + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:40:06Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:14Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:42:05Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:14Z","deployed":false}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu","version":{"testing":false,"number":4,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:42:14Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":[{"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":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":4,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:42:14Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":[{"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-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4556'] + content-length: ['4463'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:16 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19124-FRA'] - x-timer: ['S1523371336.851136,VS0,VE186'] + x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] + x-timer: ['S1527630371.025330,VS0,VE550'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/deactivate + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:42:05Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:14Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['230'] + content-length: ['231'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:16 GMT'] - fastly-ratelimit-remaining: ['841'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:12 GMT'] + fastly-ratelimit-remaining: ['785'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371336.099731,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527630372.742156,VS0,VE494'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6 response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -92,15 +92,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:16 GMT'] - fastly-ratelimit-remaining: ['840'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:12 GMT'] + fastly-ratelimit-remaining: ['784'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371336.323331,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] + x-timer: ['S1527630372.314582,VS0,VE428'] 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 f9e27f3..ea5a703 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml @@ -6,106 +6,106 @@ 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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false},{"testing":false,"number":3,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:15Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:06Z","comment":""}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":""}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['914'] + content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:04 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19130-FRA'] - x-timer: ['S1523371325.730257,VS0,VE136'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630360.474722,VS0,VE388'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/details + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:40:06Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu","version":{"testing":false,"number":3,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:15Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":[{"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":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:40:15Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":[{"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-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4285'] + content-length: ['3993'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:05 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371325.929680,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] + x-timer: ['S1527630361.942704,VS0,VE365'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/3/clone + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:40:06Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:05 GMT'] - fastly-ratelimit-remaining: ['854'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:01 GMT'] + fastly-ratelimit-remaining: ['797'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371325.104577,VS0,VE476'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630361.372269,VS0,VE482'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/domain + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/domain response: - body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"GqfF5W0xBGci91Iz0tFpu","created_at":"2018-04-10T14:40:13Z","comment":"","updated_at":"2018-04-10T14:40:13Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","created_at":"2018-05-29T21:43:54Z","comment":"","updated_at":"2018-05-29T21:43:54Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['180'] + content-length: ['181'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:06 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19136-FRA'] - x-timer: ['S1523371326.821501,VS0,VE379'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630362.926571,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/healthcheck + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:06 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19132-FRA'] - x-timer: ['S1523371326.451282,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527630362.116646,VS0,VE369'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/condition + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,45 +139,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:06 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19150-FRA'] - x-timer: ['S1523371327.626130,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527630363.555372,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/backend + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/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-04-10T14:40:13Z","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":"GqfF5W0xBGci91Iz0tFpu","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-04-10T14:40:13Z","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-29T21:43:54Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:43:54Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['717'] + content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:06 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19136-FRA'] - x-timer: ['S1523371327.807002,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630363.738299,VS0,VE373'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/director + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,45 +187,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:07 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371327.998989,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630363.184329,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/cache_settings + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/cache_settings response: - body: {string: !!python/unicode '[{"stale_ttl":"0","version":"4","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"GqfF5W0xBGci91Iz0tFpu","cache_condition":"","created_at":"2018-04-10T14:40:14Z","action":null,"updated_at":"2018-04-10T14:40:14Z"}]'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['242'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:07 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19146-FRA'] - x-timer: ['S1523371327.174661,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630363.369586,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/gzip + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,46 +235,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:07 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19135-FRA'] - x-timer: ['S1523371327.363367,VS0,VE387'] + x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] + x-timer: ['S1527630364.562125,VS0,VE358'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/header + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"GqfF5W0xBGci91Iz0tFpu","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T14:40:14Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-04-10T14:40:14Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"2tI8MfAHvk4zqv70RFDCq6","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:43:54Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:43:54Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['414'] + content-length: ['415'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:07 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371328.812906,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] + x-timer: ['S1527630364.991911,VS0,VE368'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/request_settings + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,46 +284,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:08 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371328.994355,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630364.473279,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/response_object + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/response_object response: - body: {string: !!python/unicode '[{"response":"Ok","version":"4","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"GqfF5W0xBGci91Iz0tFpu","cache_condition":"","created_at":"2018-04-10T14:40:14Z","content_type":"","request_condition":"","updated_at":"2018-04-10T14:40:14Z"}]'} + body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set + 200 status code","content":"","deleted_at":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","cache_condition":"","created_at":"2018-05-29T21:43:55Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:43:55Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['279'] + content-length: ['280'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:09 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19140-FRA'] - x-timer: ['S1523371329.761948,VS0,VE390'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630365.658912,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/snippet + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,46 +333,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:09 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19134-FRA'] - x-timer: ['S1523371329.377327,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527630365.853810,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/domain/example8000.com + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/logging/s3 response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['15'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:09 GMT'] - fastly-ratelimit-remaining: ['853'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46: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-fra19128-FRA'] - x-timer: ['S1523371330.553433,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] + x-timer: ['S1527630365.045941,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/backend/localhost + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -381,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:10 GMT'] - fastly-ratelimit-remaining: ['852'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:05 GMT'] + fastly-ratelimit-remaining: ['796'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1523371330.038058,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] + x-timer: ['S1527630365.233026,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/cache_settings/cache-settings-config-name + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -406,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:11 GMT'] - fastly-ratelimit-remaining: ['851'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:05 GMT'] + fastly-ratelimit-remaining: ['795'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371331.627766,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630365.463343,VS0,VE162'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/header/Set%20Location%20header + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -431,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:11 GMT'] - fastly-ratelimit-remaining: ['850'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:06 GMT'] + fastly-ratelimit-remaining: ['794'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371331.117365,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630366.701986,VS0,VE405'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -456,41 +455,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:11 GMT'] - fastly-ratelimit-remaining: ['849'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:06 GMT'] + fastly-ratelimit-remaining: ['793'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371332.605642,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630366.214361,VS0,VE419'] 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/GqfF5W0xBGci91Iz0tFpu/version/4/domain + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"GqfF5W0xBGci91Iz0tFpu","version":4,"deleted_at":null,"created_at":"2018-04-10T14:42:11Z","updated_at":"2018-04-10T14:42:11Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":3,"deleted_at":null,"created_at":"2018-05-29T21:46:07Z","updated_at":"2018-05-29T21:46:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['178'] + content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:12 GMT'] - fastly-ratelimit-remaining: ['848'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:07 GMT'] + fastly-ratelimit-remaining: ['792'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371332.828375,VS0,VE192'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527630367.708004,VS0,VE439'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "priority": "0", "type": "CACHE", "name": @@ -498,26 +497,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/condition + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/condition response: body: {string: !!python/unicode '{"comment":"","priority":"0","type":"CACHE","name":"condition-name","statement":"req.url - ~ \"^/some_asset.js\"","service_id":"GqfF5W0xBGci91Iz0tFpu","version":"4","deleted_at":null,"created_at":"2018-04-10T14:42:12Z","updated_at":"2018-04-10T14:42:12Z"}'} + ~ \"^/some_asset.js\"","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"3","deleted_at":null,"created_at":"2018-05-29T21:46:07Z","updated_at":"2018-05-29T21:46:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['253'] + content-length: ['254'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:12 GMT'] - fastly-ratelimit-remaining: ['847'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:07 GMT'] + fastly-ratelimit-remaining: ['791'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371332.082848,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630367.218601,VS0,VE381'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -528,25 +527,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/backend + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/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":"GqfF5W0xBGci91Iz0tFpu","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:42:12Z","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-04-10T14:42:12Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:08Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:08Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:12 GMT'] - fastly-ratelimit-remaining: ['846'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:08 GMT'] + fastly-ratelimit-remaining: ['790'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371333.540975,VS0,VE429'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630368.669887,VS0,VE431'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -556,26 +555,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/header + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/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":"GqfF5W0xBGci91Iz0tFpu","version":"4","updated_at":"2018-04-10T14:42:13Z","deleted_at":null,"created_at":"2018-04-10T14:42:13Z"}'} + cache control header","src":"\"public, max-age=86400\"","dst":"http.Cache-Control","substitution":"","priority":"100","cache_condition":"condition-name","action":"set","type":"cache","response_condition":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"3","updated_at":"2018-05-29T21:46:08Z","deleted_at":null,"created_at":"2018-05-29T21:46:08Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['419'] + content-length: ['420'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:13 GMT'] - fastly-ratelimit-remaining: ['845'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:08 GMT'] + fastly-ratelimit-remaining: ['789'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371333.033066,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630368.175617,VS0,VE403'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -583,105 +582,105 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/response_object + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/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":"GqfF5W0xBGci91Iz0tFpu","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:42:13Z","updated_at":"2018-04-10T14:42:13Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:08Z","updated_at":"2018-05-29T21:46:08Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:13 GMT'] - fastly-ratelimit-remaining: ['844'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:09 GMT'] + fastly-ratelimit-remaining: ['788'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371334.566144,VS0,VE144'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630369.653503,VS0,VE395'] 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/GqfF5W0xBGci91Iz0tFpu/version/4/settings + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"GqfF5W0xBGci91Iz0tFpu"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2tI8MfAHvk4zqv70RFDCq6"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:13 GMT'] - fastly-ratelimit-remaining: ['843'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:09 GMT'] + fastly-ratelimit-remaining: ['787'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371334.767100,VS0,VE178'] + x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] + x-timer: ['S1527630369.121436,VS0,VE435'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/version/4/activate + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:42:05Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:13Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:08Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:14 GMT'] - fastly-ratelimit-remaining: ['842'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:10 GMT'] + fastly-ratelimit-remaining: ['786'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1523371334.007837,VS0,VE903'] + x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] + x-timer: ['S1527630370.630170,VS0,VE845'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/GqfF5W0xBGci91Iz0tFpu/details + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/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":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:39:55Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:39:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:15Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:40:06Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:14Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"created_at":"2018-04-10T14:42:05Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:14Z","deployed":false}],"created_at":"2018-04-10T14:39:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:39:55Z","id":"GqfF5W0xBGci91Iz0tFpu","version":{"testing":false,"number":4,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:42:14Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":[{"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":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":4,"service_id":"GqfF5W0xBGci91Iz0tFpu","staging":false,"updated_at":"2018-04-10T14:42:14Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":[{"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-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4556'] + content-length: ['4463'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:15 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371335.997997,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630371.563176,VS0,VE153'] 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 e594366..4885145 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml @@ -10,18 +10,19 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:17 GMT'] + date: ['Tue, 29 May 2018 21:46:12 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-fra19130-FRA'] - x-timer: ['S1523371337.903117,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630373.823484,VS0,VE141'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -31,79 +32,103 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"af243ef2a26aae70af378f1b1bd78b12fcd2fa1e","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:42:17Z","comment":"","updated_at":"2018-04-10T14:42:17Z","id":"2rSSoWgMNhhruWFXllOZSH"}'} + Ansible Module Test","publish_key":"d9f3ba5a7927406e8e54f286e3e631d76241270c","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:46:13Z","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:17 GMT'] - fastly-ratelimit-remaining: ['839'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:13 GMT'] + fastly-ratelimit-remaining: ['783'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371338.520602,VS0,VE399'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630373.039338,VS0,VE199'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/details + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false}],"created_at":"2018-04-10T14:42:17Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:17Z","id":"2rSSoWgMNhhruWFXllOZSH","version":{"testing":false,"number":1,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:17Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:42:17Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:13Z","active":false,"number":1,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:46:13Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1041'] + content-length: ['1107'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:18 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19136-FRA'] - x-timer: ['S1523371338.984933,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630373.311192,VS0,VE483'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/1/clone + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:18 GMT'] - fastly-ratelimit-remaining: ['838'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:14 GMT'] + fastly-ratelimit-remaining: ['782'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527630374.867757,VS0,VE526'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/domain + 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: ['Tue, 29 May 2018 21:46: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-fra19141-FRA'] - x-timer: ['S1523371338.196672,VS0,VE480'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630374.466023,VS0,VE140'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/domain + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:19 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19132-FRA'] - x-timer: ['S1523371339.778550,VS0,VE398'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630375.678709,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/healthcheck + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -137,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:19 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19137-FRA'] - x-timer: ['S1523371339.401103,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630375.904400,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/condition + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -161,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:19 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19133-FRA'] - x-timer: ['S1523371340.579629,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527630375.389230,VS0,VE371'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/backend + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:20 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19139-FRA'] - x-timer: ['S1523371340.047276,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527630376.833639,VS0,VE368'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/director + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:20 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19138-FRA'] - x-timer: ['S1523371340.230822,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630376.275824,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/cache_settings + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -233,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:20 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371340.415369,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630376.458514,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/gzip + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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: ['Tue, 10 Apr 2018 14:42:20 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19137-FRA'] - x-timer: ['S1523371341.593561,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] + x-timer: ['S1527630377.649188,VS0,VE364'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/header + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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: ['Tue, 10 Apr 2018 14:42:20 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371341.776068,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630377.089522,VS0,VE110'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/request_settings + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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: ['Tue, 10 Apr 2018 14:42:21 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371341.959100,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630377.273964,VS0,VE412'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/response_object + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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: ['Tue, 10 Apr 2018 14:42:21 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19127-FRA'] - x-timer: ['S1523371341.137151,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] + x-timer: ['S1527630378.762429,VS0,VE407'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/snippet + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -353,39 +378,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:21 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19140-FRA'] - x-timer: ['S1523371341.318227,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630378.247771,VS0,VE367'] 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/2rSSoWgMNhhruWFXllOZSH/version/2/domain + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2rSSoWgMNhhruWFXllOZSH","version":2,"deleted_at":null,"created_at":"2018-04-10T14:42:21Z","updated_at":"2018-04-10T14:42:21Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5VLquy0RjmswddaW2ZC2d6","version":2,"deleted_at":null,"created_at":"2018-05-29T21:46:19Z","updated_at":"2018-05-29T21:46:19Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:22 GMT'] - fastly-ratelimit-remaining: ['837'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:19 GMT'] + fastly-ratelimit-remaining: ['781'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1523371341.497006,VS0,VE512'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630379.687586,VS0,VE454'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "priority": "0", "type": "REQUEST", "name": @@ -393,26 +418,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/condition + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/condition response: body: {string: !!python/unicode '{"comment":"","priority":"0","type":"REQUEST","name":"condition-name","statement":"req.url - ~ \"^/robots.txt\"","service_id":"2rSSoWgMNhhruWFXllOZSH","version":"2","deleted_at":null,"created_at":"2018-04-10T14:42:22Z","updated_at":"2018-04-10T14:42:22Z"}'} + ~ \"^/robots.txt\"","service_id":"5VLquy0RjmswddaW2ZC2d6","version":"2","deleted_at":null,"created_at":"2018-05-29T21:46:19Z","updated_at":"2018-05-29T21:46:19Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['253'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:22 GMT'] - fastly-ratelimit-remaining: ['836'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:19 GMT'] + fastly-ratelimit-remaining: ['780'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371342.120061,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630379.218484,VS0,VE125'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -423,25 +448,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/backend + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:42:22Z","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-04-10T14:42:22Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:19Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:19Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:22 GMT'] - fastly-ratelimit-remaining: ['835'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:19 GMT'] + fastly-ratelimit-remaining: ['779'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371342.310288,VS0,VE462'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630379.418011,VS0,VE185'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -451,26 +476,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/header + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","version":"2","updated_at":"2018-04-10T14:42:23Z","deleted_at":null,"created_at":"2018-04-10T14:42:23Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":"2","updated_at":"2018-05-29T21:46:19Z","deleted_at":null,"created_at":"2018-05-29T21:46:19Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:23 GMT'] - fastly-ratelimit-remaining: ['834'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:19 GMT'] + fastly-ratelimit-remaining: ['778'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1523371343.904303,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630380.685607,VS0,VE157'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -478,105 +503,105 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/response_object + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:42:23Z","updated_at":"2018-04-10T14:42:23Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"5VLquy0RjmswddaW2ZC2d6","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:20Z","updated_at":"2018-05-29T21:46:20Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:23 GMT'] - fastly-ratelimit-remaining: ['833'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:20 GMT'] + fastly-ratelimit-remaining: ['777'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371343.372891,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] + x-timer: ['S1527630380.958782,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/2rSSoWgMNhhruWFXllOZSH/version/2/settings + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2rSSoWgMNhhruWFXllOZSH"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5VLquy0RjmswddaW2ZC2d6"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:24 GMT'] - fastly-ratelimit-remaining: ['832'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:20 GMT'] + fastly-ratelimit-remaining: ['776'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371344.870792,VS0,VE471'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630380.466505,VS0,VE424'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/activate + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:23Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:20Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:25 GMT'] - fastly-ratelimit-remaining: ['831'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:21 GMT'] + fastly-ratelimit-remaining: ['775'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1523371344.403121,VS0,VE913'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630381.967028,VS0,VE679'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/details + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:25Z","deployed":false}],"created_at":"2018-04-10T14:42:17Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:17Z","id":"2rSSoWgMNhhruWFXllOZSH","version":{"testing":false,"number":2,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:25Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":[{"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":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:21Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:25Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":[{"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-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4083'] + content-length: ['4215'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:25 GMT'] + date: ['Tue, 29 May 2018 21:46:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371345.461312,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527630382.720852,VS0,VE140'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml b/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml index 52ca7e5..28b3899 100644 --- a/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml @@ -6,81 +6,81 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:35Z","deployed":false},{"testing":false,"number":3,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:26Z","comment":""}],"created_at":"2018-04-10T14:42:17Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:17Z","id":"2rSSoWgMNhhruWFXllOZSH"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":""}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:36 GMT'] + date: ['Tue, 29 May 2018 21:46:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371357.684971,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630395.028870,VS0,VE435'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/details + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:35Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:26Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:35Z","deployed":false}],"created_at":"2018-04-10T14:42:17Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:17Z","id":"2rSSoWgMNhhruWFXllOZSH","version":{"testing":false,"number":3,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:26Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","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-04-10T14:42:33Z","backends":["localhost"],"comment":"","updated_at":"2018-04-10T14:42:33Z","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":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:26Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","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-04-10T14:42:33Z","backends":["localhost"],"comment":"","updated_at":"2018-04-10T14:42:33Z","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-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4529'] + content-length: ['4661'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:37 GMT'] + date: ['Tue, 29 May 2018 21:46:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1523371357.901982,VS0,VE399'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527630396.544029,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/deactivate + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:26Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:35Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:37 GMT'] - fastly-ratelimit-remaining: ['816'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:36 GMT'] + fastly-ratelimit-remaining: ['760'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1523371357.367812,VS0,VE463'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527630396.735855,VS0,VE501'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6 response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,15 +89,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:38 GMT'] - fastly-ratelimit-remaining: ['815'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:36 GMT'] + fastly-ratelimit-remaining: ['759'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523371358.992939,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] + x-timer: ['S1527630396.311221,VS0,VE394'] 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 65a1eff..7f7d261 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":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false},{"testing":false,"number":2,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:25Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:18Z","comment":""}],"created_at":"2018-04-10T14:42:17Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:17Z","id":"2rSSoWgMNhhruWFXllOZSH"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","comment":""}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,78 +14,78 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:26 GMT'] + date: ['Tue, 29 May 2018 21:46:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371346.729100,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630382.999212,VS0,VE133'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/details + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:25Z","deployed":false}],"created_at":"2018-04-10T14:42:17Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:17Z","id":"2rSSoWgMNhhruWFXllOZSH","version":{"testing":false,"number":2,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:25Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":[{"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":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:21Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:25Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":[{"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-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4083'] + content-length: ['4215'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:26 GMT'] + date: ['Tue, 29 May 2018 21:46:22 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371346.295973,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] + x-timer: ['S1527630382.210762,VS0,VE109'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/2/clone + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:25Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:21Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:26 GMT'] - fastly-ratelimit-remaining: ['830'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:22 GMT'] + fastly-ratelimit-remaining: ['774'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371346.478530,VS0,VE204'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630382.391530,VS0,VE496'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/domain + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"2rSSoWgMNhhruWFXllOZSH","created_at":"2018-04-10T14:42:21Z","comment":"","updated_at":"2018-04-10T14:42:21Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","created_at":"2018-05-29T21:46:19Z","comment":"","updated_at":"2018-05-29T21:46:19Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -93,21 +93,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:26 GMT'] + date: ['Tue, 29 May 2018 21:46:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371347.757236,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630383.963566,VS0,VE165'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/healthcheck + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -117,24 +117,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:27 GMT'] + date: ['Tue, 29 May 2018 21:46:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371347.949626,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] + x-timer: ['S1527630383.203718,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/condition + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/condition response: - body: {string: !!python/unicode '[{"priority":"0","version":"3","name":"condition-name","deleted_at":null,"service_id":"2rSSoWgMNhhruWFXllOZSH","created_at":"2018-04-10T14:42:22Z","comment":"","statement":"req.url - ~ \"^/robots.txt\"","updated_at":"2018-04-10T14:42:22Z","type":"REQUEST"}]'} + body: {string: !!python/unicode '[{"priority":"0","version":"3","name":"condition-name","deleted_at":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","created_at":"2018-05-29T21:46:19Z","comment":"","statement":"req.url + ~ \"^/robots.txt\"","updated_at":"2018-05-29T21:46:19Z","type":"REQUEST"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -142,23 +142,23 @@ interactions: connection: [keep-alive] content-length: ['255'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:27 GMT'] + date: ['Tue, 29 May 2018 21:46:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371347.149421,VS0,VE284'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630383.391197,VS0,VE373'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/backend + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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-04-10T14:42:22Z","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":"2rSSoWgMNhhruWFXllOZSH","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-04-10T14:42:22Z","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-29T21:46:19Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:46:19Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -166,21 +166,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:27 GMT'] + date: ['Tue, 29 May 2018 21:46:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371348.562853,VS0,VE254'] + x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] + x-timer: ['S1527630384.839908,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/director + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -190,21 +190,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:28 GMT'] + date: ['Tue, 29 May 2018 21:46:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371348.883987,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] + x-timer: ['S1527630384.043637,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/cache_settings + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -214,21 +214,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:28 GMT'] + date: ['Tue, 29 May 2018 21:46:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1523371348.086850,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630384.244123,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/gzip + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -238,24 +238,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:28 GMT'] + date: ['Tue, 29 May 2018 21:46:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371348.271732,VS0,VE381'] + x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] + x-timer: ['S1527630384.436371,VS0,VE403'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/header + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"2rSSoWgMNhhruWFXllOZSH","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T14:42:23Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-04-10T14:42:23Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"5VLquy0RjmswddaW2ZC2d6","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:46:19Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:46:19Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -263,21 +263,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:28 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19142-FRA'] - x-timer: ['S1523371349.805887,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630385.914030,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/request_settings + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -287,24 +287,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:29 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19151-FRA'] - x-timer: ['S1523371349.996906,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527630385.101131,VS0,VE404'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/response_object + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","cache_condition":"","created_at":"2018-04-10T14:42:23Z","content_type":"","request_condition":"","updated_at":"2018-04-10T14:42:23Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","cache_condition":"","created_at":"2018-05-29T21:46:20Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:46:20Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -312,21 +312,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:29 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19144-FRA'] - x-timer: ['S1523371349.468737,VS0,VE131'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527630386.581304,VS0,VE379'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/snippet + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -336,21 +336,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:30 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371350.664450,VS0,VE380'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630386.034588,VS0,VE114'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/logging/s3 + 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: ['Tue, 29 May 2018 21:46: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-ams4448-AMS'] + x-timer: ['S1527630386.225033,VS0,VE404'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/domain/example8000.com + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -359,23 +383,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:30 GMT'] - fastly-ratelimit-remaining: ['829'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:27 GMT'] + fastly-ratelimit-remaining: ['773'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371350.107823,VS0,VE425'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630387.703876,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/condition/condition-name + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/condition/condition-name response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -384,23 +408,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:30 GMT'] - fastly-ratelimit-remaining: ['828'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:27 GMT'] + fastly-ratelimit-remaining: ['772'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371351.595344,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] + x-timer: ['S1527630387.206476,VS0,VE428'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/backend/localhost + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -409,23 +433,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:31 GMT'] - fastly-ratelimit-remaining: ['827'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:28 GMT'] + fastly-ratelimit-remaining: ['771'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371351.318141,VS0,VE172'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630388.717725,VS0,VE438'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -434,23 +458,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:31 GMT'] - fastly-ratelimit-remaining: ['826'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:28 GMT'] + fastly-ratelimit-remaining: ['770'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1523371352.550335,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] + x-timer: ['S1527630388.229980,VS0,VE423'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -459,41 +483,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:32 GMT'] - fastly-ratelimit-remaining: ['825'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:28 GMT'] + fastly-ratelimit-remaining: ['769'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371352.047037,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630389.728696,VS0,VE161'] 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/2rSSoWgMNhhruWFXllOZSH/version/3/domain + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2rSSoWgMNhhruWFXllOZSH","version":3,"deleted_at":null,"created_at":"2018-04-10T14:42:32Z","updated_at":"2018-04-10T14:42:32Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"deleted_at":null,"created_at":"2018-05-29T21:46:29Z","updated_at":"2018-05-29T21:46:29Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:32 GMT'] - fastly-ratelimit-remaining: ['824'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:29 GMT'] + fastly-ratelimit-remaining: ['768'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1523371352.271601,VS0,VE489'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630389.964058,VS0,VE445'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -504,25 +528,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/backend + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:42: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-04-10T14:42:33Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:29Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:29Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:33 GMT'] - fastly-ratelimit-remaining: ['823'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:29 GMT'] + fastly-ratelimit-remaining: ['767'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371353.818553,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] + x-timer: ['S1527630389.486211,VS0,VE424'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "retries": 5, "capacity": 100, "shield": @@ -530,50 +554,50 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/director + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","version":3,"deleted_at":null,"created_at":"2018-04-10T14:42:33Z","updated_at":"2018-04-10T14:42:33Z"}'} + body: {string: !!python/unicode '{"comment":"","retries":5,"capacity":100,"shield":null,"backends":[],"quorum":75,"type":4,"name":"client_director","service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"deleted_at":null,"created_at":"2018-05-29T21:46:30Z","updated_at":"2018-05-29T21:46:30Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['255'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:33 GMT'] - fastly-ratelimit-remaining: ['822'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:30 GMT'] + fastly-ratelimit-remaining: ['766'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371353.333819,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630390.070332,VS0,VE408'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/director/client_director/backend/localhost + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/director/client_director/backend/localhost response: - body: {string: !!python/unicode '{"service_id":"2rSSoWgMNhhruWFXllOZSH","version":3,"director_name":"client_director","backend_name":"localhost","created_at":"2018-04-10T14:42:33Z","deleted_at":null,"updated_at":"2018-04-10T14:42:33Z"}'} + body: {string: !!python/unicode '{"service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"director_name":"client_director","backend_name":"localhost","created_at":"2018-05-29T21:46:30Z","deleted_at":null,"updated_at":"2018-05-29T21:46:30Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['202'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:33 GMT'] - fastly-ratelimit-remaining: ['821'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:30 GMT'] + fastly-ratelimit-remaining: ['765'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371354.547605,VS0,VE146'] + x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] + x-timer: ['S1527630391.556556,VS0,VE403'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -583,26 +607,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/header + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","version":"3","updated_at":"2018-04-10T14:42:34Z","deleted_at":null,"created_at":"2018-04-10T14:42:34Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":"3","updated_at":"2018-05-29T21:46:31Z","deleted_at":null,"created_at":"2018-05-29T21:46:31Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:34 GMT'] - fastly-ratelimit-remaining: ['820'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:31 GMT'] + fastly-ratelimit-remaining: ['764'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19121-FRA'] - x-timer: ['S1523371354.754257,VS0,VE436'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630391.098748,VS0,VE440'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -610,104 +634,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/response_object + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:42:34Z","updated_at":"2018-04-10T14:42:34Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"5VLquy0RjmswddaW2ZC2d6","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:32Z","updated_at":"2018-05-29T21:46:32Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:34 GMT'] - fastly-ratelimit-remaining: ['819'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:32 GMT'] + fastly-ratelimit-remaining: ['763'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1523371354.311106,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630392.713510,VS0,VE395'] 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/2rSSoWgMNhhruWFXllOZSH/version/3/settings + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2rSSoWgMNhhruWFXllOZSH"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"5VLquy0RjmswddaW2ZC2d6"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:35 GMT'] - fastly-ratelimit-remaining: ['818'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:32 GMT'] + fastly-ratelimit-remaining: ['762'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371355.859869,VS0,VE174'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630392.231667,VS0,VE427'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/version/3/activate + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:26Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:34Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:32Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:35 GMT'] - fastly-ratelimit-remaining: ['817'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:33 GMT'] + fastly-ratelimit-remaining: ['761'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371355.096056,VS0,VE641'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630393.840711,VS0,VE909'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/details + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:35Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:26Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:35Z","deployed":false}],"created_at":"2018-04-10T14:42:17Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:17Z","id":"2rSSoWgMNhhruWFXllOZSH","version":{"testing":false,"number":3,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:26Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","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-04-10T14:42:33Z","backends":["localhost"],"comment":"","updated_at":"2018-04-10T14:42:33Z","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":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:26Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","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-04-10T14:42:33Z","backends":["localhost"],"comment":"","updated_at":"2018-04-10T14:42:33Z","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-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4529'] + content-length: ['4661'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:36 GMT'] + date: ['Tue, 29 May 2018 21:46:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1523371356.905016,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630394.863262,VS0,VE414'] status: {code: 200, message: OK} - request: body: null @@ -716,7 +740,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:35Z","deployed":false},{"testing":false,"number":3,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:26Z","comment":""}],"created_at":"2018-04-10T14:42:17Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:17Z","id":"2rSSoWgMNhhruWFXllOZSH"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":""}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -724,69 +748,69 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:36 GMT'] + date: ['Tue, 29 May 2018 21:46:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371356.109978,VS0,VE138'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630394.373454,VS0,VE179'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/details + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:35Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:26Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:35Z","deployed":false}],"created_at":"2018-04-10T14:42:17Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:17Z","id":"2rSSoWgMNhhruWFXllOZSH","version":{"testing":false,"number":3,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:26Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","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-04-10T14:42:33Z","backends":["localhost"],"comment":"","updated_at":"2018-04-10T14:42:33Z","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":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:26Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","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-04-10T14:42:33Z","backends":["localhost"],"comment":"","updated_at":"2018-04-10T14:42:33Z","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-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4529'] + content-length: ['4661'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:36 GMT'] + date: ['Tue, 29 May 2018 21:46:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1523371356.312364,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] + x-timer: ['S1527630395.623699,VS0,VE111'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2rSSoWgMNhhruWFXllOZSH/details + uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/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":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:17Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:35Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"created_at":"2018-04-10T14:42:26Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:35Z","deployed":false}],"created_at":"2018-04-10T14:42:17Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:17Z","id":"2rSSoWgMNhhruWFXllOZSH","version":{"testing":false,"number":3,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:26Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","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-04-10T14:42:33Z","backends":["localhost"],"comment":"","updated_at":"2018-04-10T14:42:33Z","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":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"2rSSoWgMNhhruWFXllOZSH","staging":false,"updated_at":"2018-04-10T14:42:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:26Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","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-04-10T14:42:33Z","backends":["localhost"],"comment":"","updated_at":"2018-04-10T14:42:33Z","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-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4529'] + content-length: ['4661'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:36 GMT'] + date: ['Tue, 29 May 2018 21:46:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19121-FRA'] - x-timer: ['S1523371356.484987,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630395.810404,VS0,VE115'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml b/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml index 7251fd9..f504b6e 100644 --- a/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyGzip_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":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"created_at":"2018-04-10T14:43:53Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:53Z","deployed":false},{"testing":false,"number":2,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"updated_at":"2018-04-10T14:44:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:54Z","comment":""}],"created_at":"2018-04-10T14:43:53Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:53Z","id":"4bFaco6pOwQ1VtudAhjnWf"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","comment":""}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:44:02 GMT'] + date: ['Tue, 29 May 2018 21:48:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371442.958391,VS0,VE169'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630494.827579,VS0,VE150'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/details + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/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":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"created_at":"2018-04-10T14:43:53Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:53Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"created_at":"2018-04-10T14:43:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:44:01Z","deployed":false}],"created_at":"2018-04-10T14:43:53Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:53Z","id":"4bFaco6pOwQ1VtudAhjnWf","version":{"testing":false,"number":2,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"updated_at":"2018-04-10T14:44:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":[{"created_at":"2018-04-10T14:43:59Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-04-10T14:43:59Z","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":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:13Z","deployed":false}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"updated_at":"2018-04-10T14:44:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":[{"created_at":"2018-04-10T14:43:59Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-04-10T14:43:59Z","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-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4311'] + content-length: ['4443'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:44:02 GMT'] + date: ['Tue, 29 May 2018 21:48: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-fra19128-FRA'] - x-timer: ['S1523371442.188404,VS0,VE531'] + x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] + x-timer: ['S1527630494.049221,VS0,VE109'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/deactivate + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"created_at":"2018-04-10T14:43:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:44:01Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:13Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:44:03 GMT'] - fastly-ratelimit-remaining: ['730'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:14 GMT'] + fastly-ratelimit-remaining: ['674'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371443.782320,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630494.233974,VS0,VE484'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -93,15 +94,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:44:03 GMT'] - fastly-ratelimit-remaining: ['729'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:15 GMT'] + fastly-ratelimit-remaining: ['673'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1523371443.254885,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630495.789702,VS0,VE390'] 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 d5cf74e..a266944 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: ['Tue, 10 Apr 2018 14:43:53 GMT'] + date: ['Tue, 29 May 2018 21:48:05 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-fra19142-FRA'] - x-timer: ['S1523371433.448148,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] + x-timer: ['S1527630485.005829,VS0,VE110'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -31,79 +32,103 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"d574ea3ae68be844003cd99c32c755dd4f23a9ae","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"created_at":"2018-04-10T14:43:53Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:53Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:43:53Z","comment":"","updated_at":"2018-04-10T14:43:53Z","id":"4bFaco6pOwQ1VtudAhjnWf"}'} + Ansible Module Test","publish_key":"d1f3520a2ecf587cfde1fc4de23190ee99895e42","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:48:05Z","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:53 GMT'] - fastly-ratelimit-remaining: ['739'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:05 GMT'] + fastly-ratelimit-remaining: ['683'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371434.625620,VS0,VE135'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630485.187724,VS0,VE386'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/details + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/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":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"created_at":"2018-04-10T14:43:53Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:53Z","deployed":false}],"created_at":"2018-04-10T14:43:53Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:53Z","id":"4bFaco6pOwQ1VtudAhjnWf","version":{"testing":false,"number":1,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"updated_at":"2018-04-10T14:43:53Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:43:53Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:05Z","active":false,"number":1,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:48:05Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1041'] + content-length: ['1107'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:54 GMT'] + date: ['Tue, 29 May 2018 21:48: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-fra19136-FRA'] - x-timer: ['S1523371434.822945,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630486.645168,VS0,VE158'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/1/clone + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"created_at":"2018-04-10T14:43:53Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:53Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:54 GMT'] - fastly-ratelimit-remaining: ['738'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:06 GMT'] + fastly-ratelimit-remaining: ['682'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630486.891735,VS0,VE452'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/domain + 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: ['Tue, 29 May 2018 21:48: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-fra19121-FRA'] - x-timer: ['S1523371434.332075,VS0,VE532'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630486.415915,VS0,VE372'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/domain + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:55 GMT'] + date: ['Tue, 29 May 2018 21:48: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-fra19139-FRA'] - x-timer: ['S1523371435.922202,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630487.859190,VS0,VE362'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/healthcheck + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -137,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:55 GMT'] + date: ['Tue, 29 May 2018 21:48: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-fra19142-FRA'] - x-timer: ['S1523371435.397973,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630487.356052,VS0,VE370'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/condition + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -161,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:55 GMT'] + date: ['Tue, 29 May 2018 21:48: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-fra19138-FRA'] - x-timer: ['S1523371436.847969,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] + x-timer: ['S1527630488.791334,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/backend + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:56 GMT'] + date: ['Tue, 29 May 2018 21:48:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371436.026549,VS0,VE132'] + x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] + x-timer: ['S1527630488.981511,VS0,VE366'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/director + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:56 GMT'] + date: ['Tue, 29 May 2018 21:48:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371436.226010,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630488.417179,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/cache_settings + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -233,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:56 GMT'] + date: ['Tue, 29 May 2018 21:48:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371436.417054,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630489.606546,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/gzip + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/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: ['Tue, 10 Apr 2018 14:43:57 GMT'] + date: ['Tue, 29 May 2018 21:48:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1523371437.596041,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630489.798411,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/header + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/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: ['Tue, 10 Apr 2018 14:43:57 GMT'] + date: ['Tue, 29 May 2018 21:48:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1523371437.166342,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630489.988145,VS0,VE363'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/request_settings + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/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: ['Tue, 10 Apr 2018 14:43:57 GMT'] + date: ['Tue, 29 May 2018 21:48:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371438.795136,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630489.424575,VS0,VE377'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/response_object + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/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: ['Tue, 10 Apr 2018 14:43:58 GMT'] + date: ['Tue, 29 May 2018 21:48:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1523371438.974666,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630490.872178,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/snippet + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -353,39 +378,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:58 GMT'] + date: ['Tue, 29 May 2018 21:48:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371438.159905,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630490.055769,VS0,VE122'] 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/4bFaco6pOwQ1VtudAhjnWf/version/2/domain + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4bFaco6pOwQ1VtudAhjnWf","version":2,"deleted_at":null,"created_at":"2018-04-10T14:43:58Z","updated_at":"2018-04-10T14:43:58Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":2,"deleted_at":null,"created_at":"2018-05-29T21:48:10Z","updated_at":"2018-05-29T21:48:10Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:58 GMT'] - fastly-ratelimit-remaining: ['737'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:10 GMT'] + fastly-ratelimit-remaining: ['681'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371438.334716,VS0,VE496'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630490.251525,VS0,VE458'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -396,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/backend + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/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":"4bFaco6pOwQ1VtudAhjnWf","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:43: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-04-10T14:43:59Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:48:10Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:48:10Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:59 GMT'] - fastly-ratelimit-remaining: ['736'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:11 GMT'] + fastly-ratelimit-remaining: ['680'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371439.920285,VS0,VE154'] + x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] + x-timer: ['S1527630491.835173,VS0,VE167'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"content_types": "text/html text/css application/javascript", @@ -423,26 +448,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/gzip + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/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":"4bFaco6pOwQ1VtudAhjnWf","version":"2","deleted_at":null,"created_at":"2018-04-10T14:43:59Z","updated_at":"2018-04-10T14:43:59Z"}'} + css js","name":"gzip-config-name","cache_condition":"","service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":"2","deleted_at":null,"created_at":"2018-05-29T21:48:11Z","updated_at":"2018-05-29T21:48:11Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['277'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:59 GMT'] - fastly-ratelimit-remaining: ['735'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:11 GMT'] + fastly-ratelimit-remaining: ['679'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371439.134373,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] + x-timer: ['S1527630491.074440,VS0,VE144'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -452,26 +477,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/header + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/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":"4bFaco6pOwQ1VtudAhjnWf","version":"2","updated_at":"2018-04-10T14:43:59Z","deleted_at":null,"created_at":"2018-04-10T14:43:59Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":"2","updated_at":"2018-05-29T21:48:11Z","deleted_at":null,"created_at":"2018-05-29T21:48:11Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:59 GMT'] - fastly-ratelimit-remaining: ['734'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:11 GMT'] + fastly-ratelimit-remaining: ['678'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371439.343132,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] + x-timer: ['S1527630491.293783,VS0,VE399'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -479,106 +504,107 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/response_object + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/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":"4bFaco6pOwQ1VtudAhjnWf","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:44:00Z","updated_at":"2018-04-10T14:44:00Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:48:12Z","updated_at":"2018-05-29T21:48:12Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:44:00 GMT'] - fastly-ratelimit-remaining: ['733'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:12 GMT'] + fastly-ratelimit-remaining: ['677'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371440.885509,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] + x-timer: ['S1527630492.832465,VS0,VE409'] 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/4bFaco6pOwQ1VtudAhjnWf/version/2/settings + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4bFaco6pOwQ1VtudAhjnWf"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7XjFT2gY9AAn4wBcr5FxYM"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:44:00 GMT'] - fastly-ratelimit-remaining: ['732'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:12 GMT'] + fastly-ratelimit-remaining: ['676'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371440.467729,VS0,VE165'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527630492.376161,VS0,VE407'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/version/2/activate + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"created_at":"2018-04-10T14:43:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:44:00Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:12Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:44:01 GMT'] - fastly-ratelimit-remaining: ['731'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:13 GMT'] + fastly-ratelimit-remaining: ['675'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371441.696986,VS0,VE909'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630493.903979,VS0,VE616'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4bFaco6pOwQ1VtudAhjnWf/details + uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/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":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"created_at":"2018-04-10T14:43:53Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:53Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"created_at":"2018-04-10T14:43:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:44:01Z","deployed":false}],"created_at":"2018-04-10T14:43:53Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:53Z","id":"4bFaco6pOwQ1VtudAhjnWf","version":{"testing":false,"number":2,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"updated_at":"2018-04-10T14:44:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":[{"created_at":"2018-04-10T14:43:59Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-04-10T14:43:59Z","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":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:13Z","deployed":false}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"4bFaco6pOwQ1VtudAhjnWf","staging":false,"updated_at":"2018-04-10T14:44:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":[{"created_at":"2018-04-10T14:43:59Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-04-10T14:43:59Z","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-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4311'] + content-length: ['4443'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:44:01 GMT'] + date: ['Tue, 29 May 2018 21:48:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371442.674944,VS0,VE205'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630494.593054,VS0,VE144'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml b/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml index 7c8f96f..59b46fc 100644 --- a/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyHealthchecks_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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:07Z","deployed":false},{"testing":false,"number":3,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:43:07Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:58Z","comment":""}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,74 +14,74 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:09 GMT'] + date: ['Tue, 29 May 2018 21:47:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371389.124520,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630429.196481,VS0,VE137'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/details + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:07Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:07Z","deployed":false}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk","version":{"testing":false,"number":3,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:43:07Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:43:07Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"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-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4565'] + content-length: ['4697'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:09 GMT'] + date: ['Tue, 29 May 2018 21:47:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371389.325386,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630429.406520,VS0,VE108'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/deactivate + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:07Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:09 GMT'] - fastly-ratelimit-remaining: ['784'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:10 GMT'] + fastly-ratelimit-remaining: ['728'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1523371389.499553,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630430.587919,VS0,VE496'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:10 GMT'] - fastly-ratelimit-remaining: ['783'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:10 GMT'] + fastly-ratelimit-remaining: ['727'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1523371390.984867,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527630430.215215,VS0,VE382'] 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 99095f1..9fb0bc1 100644 --- a/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml +++ b/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml @@ -6,83 +6,84 @@ 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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"number":2,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:42:57Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:49Z","comment":""}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:58 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19126-FRA'] - x-timer: ['S1523371378.238626,VS0,VE135'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630417.963921,VS0,VE190'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/details + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:57Z","deployed":false}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk","version":{"testing":false,"number":2,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:42:57Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":"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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:42:57Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":"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-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['3861'] + content-length: ['3993'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:58 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371378.434648,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] + x-timer: ['S1527630417.226879,VS0,VE107'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/clone + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:57Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:59 GMT'] - fastly-ratelimit-remaining: ['796'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:57 GMT'] + fastly-ratelimit-remaining: ['740'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523371379.606789,VS0,VE472'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527630417.408926,VS0,VE477'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/domain + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","created_at":"2018-04-10T14:42:54Z","comment":"","updated_at":"2018-04-10T14:42:54Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","created_at":"2018-05-29T21:46:52Z","comment":"","updated_at":"2018-05-29T21:46:52Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -90,21 +91,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:59 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19121-FRA'] - x-timer: ['S1523371379.139705,VS0,VE601'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630418.028768,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/healthcheck + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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: ['Tue, 10 Apr 2018 14:43:00 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19125-FRA'] - x-timer: ['S1523371380.890969,VS0,VE187'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630419.539843,VS0,VE372'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/condition + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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: ['Tue, 10 Apr 2018 14:43:00 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19143-FRA'] - x-timer: ['S1523371380.139265,VS0,VE313'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527630419.998408,VS0,VE360'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/backend + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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-04-10T14:42: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":"3QhCcK6EtKPwLHQ5FnCSlk","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-04-10T14:42: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-29T21:46:53Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:46:53Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -162,21 +163,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:00 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19151-FRA'] - x-timer: ['S1523371381.518060,VS0,VE138'] + x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] + x-timer: ['S1527630419.434783,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/director + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +187,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:00 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19132-FRA'] - x-timer: ['S1523371381.717390,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630420.631803,VS0,VE158'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/cache_settings + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:01 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19144-FRA'] - x-timer: ['S1523371381.905255,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527630420.861657,VS0,VE151'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/gzip + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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: ['Tue, 10 Apr 2018 14:43:01 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19126-FRA'] - x-timer: ['S1523371381.103549,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630420.088376,VS0,VE366'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/header + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"3QhCcK6EtKPwLHQ5FnCSlk","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T14:42:54Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-04-10T14:42:54Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:46:53Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:46:53Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -259,21 +260,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:01 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19125-FRA'] - x-timer: ['S1523371381.288651,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630421.528296,VS0,VE156'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/request_settings + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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: ['Tue, 10 Apr 2018 14:43:01 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19151-FRA'] - x-timer: ['S1523371382.731944,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630421.754147,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/response_object + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","cache_condition":"","created_at":"2018-04-10T14:42:55Z","content_type":"","request_condition":"","updated_at":"2018-04-10T14:42:55Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","cache_condition":"","created_at":"2018-05-29T21:46:54Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:46:54Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -308,21 +309,45 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:02 GMT'] + date: ['Tue, 29 May 2018 21:47:01 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630421.959729,VS0,VE155'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/snippet + 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: ['Tue, 29 May 2018 21:47:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371382.923238,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630421.187488,VS0,VE393'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/snippet + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -332,21 +357,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:02 GMT'] + date: ['Tue, 29 May 2018 21:47:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371382.129953,VS0,VE230'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630422.658030,VS0,VE375'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/domain/example8000.com + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -355,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:02 GMT'] - fastly-ratelimit-remaining: ['795'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:02 GMT'] + fastly-ratelimit-remaining: ['739'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1523371382.420142,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630422.106699,VS0,VE420'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/backend/localhost + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:03 GMT'] - fastly-ratelimit-remaining: ['794'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:03 GMT'] + fastly-ratelimit-remaining: ['738'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371383.645358,VS0,VE438'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630423.605182,VS0,VE423'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:03 GMT'] - fastly-ratelimit-remaining: ['793'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:03 GMT'] + fastly-ratelimit-remaining: ['737'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371383.147005,VS0,VE451'] + x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] + x-timer: ['S1527630423.107379,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,41 +455,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:04 GMT'] - fastly-ratelimit-remaining: ['792'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:04 GMT'] + fastly-ratelimit-remaining: ['736'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371384.688471,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] + x-timer: ['S1527630424.596726,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/3QhCcK6EtKPwLHQ5FnCSlk/version/3/domain + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"3QhCcK6EtKPwLHQ5FnCSlk","version":3,"deleted_at":null,"created_at":"2018-04-10T14:43:04Z","updated_at":"2018-04-10T14:43:04Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":3,"deleted_at":null,"created_at":"2018-05-29T21:47:04Z","updated_at":"2018-05-29T21:47:04Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:04 GMT'] - fastly-ratelimit-remaining: ['791'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:04 GMT'] + fastly-ratelimit-remaining: ['735'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371384.194919,VS0,VE199'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630424.296840,VS0,VE435'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "test_healthcheck", "http_version": @@ -474,25 +499,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/healthcheck + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","version":3,"updated_at":"2018-04-10T14:43:04Z","deleted_at":null,"created_at":"2018-04-10T14:43:04Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"test_healthcheck","http_version":"1.1","window":5,"initial":4,"timeout":5000,"host":"example8000.com","expected_response":200,"check_interval":15000,"threshold":3,"path":"/healthcheck","method":"GET","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":3,"updated_at":"2018-05-29T21:47:05Z","deleted_at":null,"created_at":"2018-05-29T21:47:05Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['362'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:04 GMT'] - fastly-ratelimit-remaining: ['790'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:05 GMT'] + fastly-ratelimit-remaining: ['734'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371384.458652,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630425.800388,VS0,VE404'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -503,25 +528,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/backend + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:43:05Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-04-10T14:43:05Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":"test_healthcheck","first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:05Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:05Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['730'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:05 GMT'] - fastly-ratelimit-remaining: ['789'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:05 GMT'] + fastly-ratelimit-remaining: ['733'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371385.936390,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630425.279511,VS0,VE409'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -531,26 +556,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/header + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","version":"3","updated_at":"2018-04-10T14:43:05Z","deleted_at":null,"created_at":"2018-04-10T14:43:05Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"3","updated_at":"2018-05-29T21:47:06Z","deleted_at":null,"created_at":"2018-05-29T21:47:06Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:05 GMT'] - fastly-ratelimit-remaining: ['788'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:06 GMT'] + fastly-ratelimit-remaining: ['732'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371386.568358,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] + x-timer: ['S1527630426.766454,VS0,VE394'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -558,104 +583,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/response_object + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:43:06Z","updated_at":"2018-04-10T14:43:06Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:06Z","updated_at":"2018-05-29T21:47:06Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:06 GMT'] - fastly-ratelimit-remaining: ['787'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:06 GMT'] + fastly-ratelimit-remaining: ['731'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523371386.052051,VS0,VE444'] + x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] + x-timer: ['S1527630426.233476,VS0,VE392'] 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/3QhCcK6EtKPwLHQ5FnCSlk/version/3/settings + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:07 GMT'] - fastly-ratelimit-remaining: ['786'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:07 GMT'] + fastly-ratelimit-remaining: ['730'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1523371387.605436,VS0,VE460'] + x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] + x-timer: ['S1527630427.699382,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/3/activate + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:06Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:06Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:07 GMT'] - fastly-ratelimit-remaining: ['785'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:08 GMT'] + fastly-ratelimit-remaining: ['729'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1523371387.126650,VS0,VE636'] + x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] + x-timer: ['S1527630427.197872,VS0,VE1067'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/details + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:07Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:07Z","deployed":false}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk","version":{"testing":false,"number":3,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:43:07Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:43:07Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"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-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4565'] + content-length: ['4697'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:08 GMT'] + date: ['Tue, 29 May 2018 21:47:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371388.864722,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630428.371640,VS0,VE144'] status: {code: 200, message: OK} - request: body: null @@ -664,76 +689,77 @@ 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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:07Z","deployed":false},{"testing":false,"number":3,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:43:07Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:58Z","comment":""}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:08 GMT'] + date: ['Tue, 29 May 2018 21:47:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1523371388.075761,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630429.592163,VS0,VE137'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/details + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:07Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:07Z","deployed":false}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk","version":{"testing":false,"number":3,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:43:07Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:43:07Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"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-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4565'] + content-length: ['4697'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:08 GMT'] + date: ['Tue, 29 May 2018 21:47:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371389.703214,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630429.805048,VS0,VE109'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/details + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:07Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:07Z","deployed":false}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk","version":{"testing":false,"number":3,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:43:07Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:43:07Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"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-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location 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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4565'] + content-length: ['4697'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:08 GMT'] + date: ['Tue, 29 May 2018 21:47:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371389.877181,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630429.986289,VS0,VE111'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml index c2430f3..1fe665c 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml @@ -6,81 +6,82 @@ 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":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:21Z","deployed":false},{"testing":false,"number":2,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"updated_at":"2018-04-10T14:43:29Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:22Z","comment":""}],"created_at":"2018-04-10T14:43:21Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:21Z","id":"40yflvqBy9nR1SLXiMrvq1"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":""}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:31 GMT'] + date: ['Tue, 29 May 2018 21:47:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371411.010079,VS0,VE144'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630456.379748,VS0,VE193'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/details + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/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":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:21Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:29Z","deployed":false}],"created_at":"2018-04-10T14:43:21Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:21Z","id":"40yflvqBy9nR1SLXiMrvq1","version":{"testing":false,"number":2,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"updated_at":"2018-04-10T14:43:29Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"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":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"updated_at":"2018-04-10T14:43:29Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"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-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4445'] + content-length: ['4577'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:31 GMT'] + date: ['Tue, 29 May 2018 21:47:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371411.217659,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630457.645469,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/deactivate + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:29Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:31 GMT'] - fastly-ratelimit-remaining: ['763'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:37 GMT'] + fastly-ratelimit-remaining: ['707'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371411.394628,VS0,VE208'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630457.861674,VS0,VE490'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1 + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:32 GMT'] - fastly-ratelimit-remaining: ['762'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:37 GMT'] + fastly-ratelimit-remaining: ['706'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1523371412.668819,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] + x-timer: ['S1527630457.422537,VS0,VE382'] 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 b3d3790..dfd28ef 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml @@ -10,19 +10,18 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:21 GMT'] + date: ['Tue, 29 May 2018 21:47:23 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371401.932054,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630443.786639,VS0,VE401'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,79 +31,103 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"e122d117d57a8e4d0a93e0b99c71e9bff08f0510","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:21Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:43:21Z","comment":"","updated_at":"2018-04-10T14:43:21Z","id":"40yflvqBy9nR1SLXiMrvq1"}'} + Ansible Module Test","publish_key":"4247ac7442d18f13ee9f0616cc41a77a6a36b5fa","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:47:23Z","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:21 GMT'] - fastly-ratelimit-remaining: ['772'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:23 GMT'] + fastly-ratelimit-remaining: ['716'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371401.109690,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630443.259520,VS0,VE418'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/details + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/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":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:21Z","deployed":false}],"created_at":"2018-04-10T14:43:21Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:21Z","id":"40yflvqBy9nR1SLXiMrvq1","version":{"testing":false,"number":1,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"updated_at":"2018-04-10T14:43:21Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:43:21Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:23Z","active":false,"number":1,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:47:23Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1041'] + content-length: ['1107'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:21 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19151-FRA'] - x-timer: ['S1523371402.572206,VS0,VE227'] + x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] + x-timer: ['S1527630444.751922,VS0,VE145'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/1/clone + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:21Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:22 GMT'] - fastly-ratelimit-remaining: ['771'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:24 GMT'] + fastly-ratelimit-remaining: ['715'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] + x-timer: ['S1527630444.973581,VS0,VE234'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/domain + 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: ['Tue, 29 May 2018 21:47:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1523371402.900039,VS0,VE202'] + x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] + x-timer: ['S1527630444.281279,VS0,VE365'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/domain + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +137,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:22 GMT'] + date: ['Tue, 29 May 2018 21:47:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371402.166526,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630445.753684,VS0,VE475'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/healthcheck + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:23 GMT'] + date: ['Tue, 29 May 2018 21:47:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371403.698228,VS0,VE379'] + x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] + x-timer: ['S1527630445.301835,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/condition + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:23 GMT'] + date: ['Tue, 29 May 2018 21:47:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371403.140805,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630445.487423,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/backend + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:23 GMT'] + date: ['Tue, 29 May 2018 21:47:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371403.360325,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] + x-timer: ['S1527630446.970255,VS0,VE366'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/director + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +233,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:24 GMT'] + date: ['Tue, 29 May 2018 21:47:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1523371404.890761,VS0,VE154'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630446.408983,VS0,VE110'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/cache_settings + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +257,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:24 GMT'] + date: ['Tue, 29 May 2018 21:47:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19121-FRA'] - x-timer: ['S1523371404.107410,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] + x-timer: ['S1527630447.593638,VS0,VE360'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/gzip + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +281,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:24 GMT'] + date: ['Tue, 29 May 2018 21:47:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1523371405.578368,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630447.029684,VS0,VE405'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/header + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +305,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:25 GMT'] + date: ['Tue, 29 May 2018 21:47:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371405.753287,VS0,VE380'] + x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] + x-timer: ['S1527630448.506938,VS0,VE159'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/request_settings + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +329,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:25 GMT'] + date: ['Tue, 29 May 2018 21:47:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371405.204742,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] + x-timer: ['S1527630448.739476,VS0,VE401'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/response_object + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +353,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:25 GMT'] + date: ['Tue, 29 May 2018 21:47:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371405.382771,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] + x-timer: ['S1527630448.215026,VS0,VE153'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/snippet + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -354,39 +377,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:25 GMT'] + date: ['Tue, 29 May 2018 21:47:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1523371406.563678,VS0,VE421'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630448.443070,VS0,VE367'] 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/40yflvqBy9nR1SLXiMrvq1/version/2/domain + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"40yflvqBy9nR1SLXiMrvq1","version":2,"deleted_at":null,"created_at":"2018-04-10T14:43:26Z","updated_at":"2018-04-10T14:43:26Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":2,"deleted_at":null,"created_at":"2018-05-29T21:47:29Z","updated_at":"2018-05-29T21:47:29Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:26 GMT'] - fastly-ratelimit-remaining: ['770'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:29 GMT'] + fastly-ratelimit-remaining: ['714'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371406.255726,VS0,VE198'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527630449.883457,VS0,VE442'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -397,25 +420,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/backend + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/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":"40yflvqBy9nR1SLXiMrvq1","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:43: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-04-10T14:43:26Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:29Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:29Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:26 GMT'] - fastly-ratelimit-remaining: ['769'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:29 GMT'] + fastly-ratelimit-remaining: ['713'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371407.522112,VS0,VE429'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630449.401053,VS0,VE423'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -425,26 +448,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/header + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/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":"40yflvqBy9nR1SLXiMrvq1","version":"2","updated_at":"2018-04-10T14:43:27Z","deleted_at":null,"created_at":"2018-04-10T14:43:27Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":"2","updated_at":"2018-05-29T21:47:30Z","deleted_at":null,"created_at":"2018-05-29T21:47:30Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:27 GMT'] - fastly-ratelimit-remaining: ['768'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:30 GMT'] + fastly-ratelimit-remaining: ['712'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371407.092568,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] + x-timer: ['S1527630450.902284,VS0,VE440'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"request_condition": "", "name": "request-setting-config-name", @@ -454,25 +477,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/request_settings + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/request_settings response: - body: {string: !!python/unicode '{"request_condition":"","name":"request-setting-config-name","force_miss":"1","xff":"append","bypass_busy_wait":"1","timer_support":"1","force_ssl":"1","action":"pass","geo_headers":"1","default_host":"example.net","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":30,"service_id":"40yflvqBy9nR1SLXiMrvq1","version":"2","updated_at":"2018-04-10T14:43:27Z","deleted_at":null,"created_at":"2018-04-10T14:43:27Z"}'} + body: {string: !!python/unicode '{"request_condition":"","name":"request-setting-config-name","force_miss":"1","xff":"append","bypass_busy_wait":"1","timer_support":"1","force_ssl":"1","action":"pass","geo_headers":"1","default_host":"example.net","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":30,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":"2","updated_at":"2018-05-29T21:47:30Z","deleted_at":null,"created_at":"2018-05-29T21:47:30Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['432'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:27 GMT'] - fastly-ratelimit-remaining: ['767'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:30 GMT'] + fastly-ratelimit-remaining: ['711'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371407.298668,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630450.418447,VS0,VE397'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -480,104 +503,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/response_object + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/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":"40yflvqBy9nR1SLXiMrvq1","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:43:27Z","updated_at":"2018-04-10T14:43:27Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:31Z","updated_at":"2018-05-29T21:47:31Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:27 GMT'] - fastly-ratelimit-remaining: ['766'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:31 GMT'] + fastly-ratelimit-remaining: ['710'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371408.768397,VS0,VE146'] + x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] + x-timer: ['S1527630451.891957,VS0,VE397'] 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/40yflvqBy9nR1SLXiMrvq1/version/2/settings + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"40yflvqBy9nR1SLXiMrvq1"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:28 GMT'] - fastly-ratelimit-remaining: ['765'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:32 GMT'] + fastly-ratelimit-remaining: ['709'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371408.971619,VS0,VE433'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630451.362201,VS0,VE1010'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/version/2/activate + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:27Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:31Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:29 GMT'] - fastly-ratelimit-remaining: ['764'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:35 GMT'] + fastly-ratelimit-remaining: ['708'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1523371409.507187,VS0,VE990'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630452.450103,VS0,VE2591'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/details + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/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":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:21Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:29Z","deployed":false}],"created_at":"2018-04-10T14:43:21Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:21Z","id":"40yflvqBy9nR1SLXiMrvq1","version":{"testing":false,"number":2,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"updated_at":"2018-04-10T14:43:29Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"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":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"updated_at":"2018-04-10T14:43:29Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"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-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4445'] + content-length: ['4577'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:29 GMT'] + date: ['Tue, 29 May 2018 21:47:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371410.562757,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] + x-timer: ['S1527630455.114062,VS0,VE519'] status: {code: 200, message: OK} - request: body: null @@ -586,76 +609,76 @@ 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":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:21Z","deployed":false},{"testing":false,"number":2,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"updated_at":"2018-04-10T14:43:29Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:22Z","comment":""}],"created_at":"2018-04-10T14:43:21Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:21Z","id":"40yflvqBy9nR1SLXiMrvq1"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":""}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:30 GMT'] + date: ['Tue, 29 May 2018 21:47:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371410.044192,VS0,VE513'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630456.708973,VS0,VE174'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/details + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/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":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:21Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:29Z","deployed":false}],"created_at":"2018-04-10T14:43:21Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:21Z","id":"40yflvqBy9nR1SLXiMrvq1","version":{"testing":false,"number":2,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"updated_at":"2018-04-10T14:43:29Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"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":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"updated_at":"2018-04-10T14:43:29Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"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-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4445'] + content-length: ['4577'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:30 GMT'] + date: ['Tue, 29 May 2018 21:47:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371411.632729,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] + x-timer: ['S1527630456.961087,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/40yflvqBy9nR1SLXiMrvq1/details + uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/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":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:21Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"created_at":"2018-04-10T14:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:29Z","deployed":false}],"created_at":"2018-04-10T14:43:21Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:21Z","id":"40yflvqBy9nR1SLXiMrvq1","version":{"testing":false,"number":2,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"updated_at":"2018-04-10T14:43:29Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"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":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"40yflvqBy9nR1SLXiMrvq1","staging":false,"updated_at":"2018-04-10T14:43:29Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"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-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['4445'] + content-length: ['4577'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:30 GMT'] + date: ['Tue, 29 May 2018 21:47:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371411.807632,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630456.163710,VS0,VE123'] 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 24e801c..d3abb14 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,18 +10,19 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:32 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19142-FRA'] - x-timer: ['S1523371412.158325,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630458.893967,VS0,VE113'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -31,79 +32,79 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"76509c4224f8513539b5d7e5442a3de676be432d","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:43:32Z","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa"}'} + Ansible Module Test","publish_key":"aa77951407e41e3ff9599ee4c78b8c78296f2b98","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:47:38Z","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:32 GMT'] - fastly-ratelimit-remaining: ['761'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:38 GMT'] + fastly-ratelimit-remaining: ['705'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1523371412.334986,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] + x-timer: ['S1527630458.100976,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/details + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa","version":{"testing":false,"number":1,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:32Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:43:32Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:38Z","active":false,"number":1,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:47:38Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1041'] + content-length: ['1107'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:32 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19128-FRA'] - x-timer: ['S1523371413.820828,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] + x-timer: ['S1527630459.561668,VS0,VE150'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/1/clone + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:33 GMT'] - fastly-ratelimit-remaining: ['760'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:39 GMT'] + fastly-ratelimit-remaining: ['704'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371413.035489,VS0,VE199'] + x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] + x-timer: ['S1527630459.783422,VS0,VE439'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/domain + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:33 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19137-FRA'] - x-timer: ['S1523371413.294746,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527630459.296428,VS0,VE362'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/healthcheck + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -137,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:33 GMT'] + date: ['Tue, 29 May 2018 21:47: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: ['S1523371413.476704,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630460.807248,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/condition + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -161,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:33 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19140-FRA'] - x-timer: ['S1523371414.657393,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630460.047625,VS0,VE370'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/backend + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:34 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19127-FRA'] - x-timer: ['S1523371414.836424,VS0,VE380'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630460.493473,VS0,VE367'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/director + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:34 GMT'] + date: ['Tue, 29 May 2018 21:47:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1523371414.280145,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527630461.936028,VS0,VE366'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/cache_settings + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -233,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:34 GMT'] + date: ['Tue, 29 May 2018 21:47:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1523371414.462779,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] + x-timer: ['S1527630461.449232,VS0,VE408'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/gzip + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -257,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:34 GMT'] + date: ['Tue, 29 May 2018 21:47:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371415.644604,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527630462.931661,VS0,VE406'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/header + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -281,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:35 GMT'] + date: ['Tue, 29 May 2018 21:47:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1523371415.821939,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] + x-timer: ['S1527630462.413861,VS0,VE362'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/request_settings + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -305,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:35 GMT'] + date: ['Tue, 29 May 2018 21:47:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371415.439753,VS0,VE400'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630463.851184,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/response_object + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -329,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:36 GMT'] + date: ['Tue, 29 May 2018 21:47:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1523371416.067465,VS0,VE378'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630463.047165,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/snippet + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -353,39 +354,63 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:37 GMT'] + date: ['Tue, 29 May 2018 21:47:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371417.661156,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630463.239682,VS0,VE363'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/logging/s3 + 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: ['Tue, 29 May 2018 21:47:44 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527630464.680134,VS0,VE417'] 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/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/domain + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","version":2,"deleted_at":null,"created_at":"2018-04-10T14:43:37Z","updated_at":"2018-04-10T14:43:37Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":2,"deleted_at":null,"created_at":"2018-05-29T21:47:44Z","updated_at":"2018-05-29T21:47:44Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:37 GMT'] - fastly-ratelimit-remaining: ['759'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:44 GMT'] + fastly-ratelimit-remaining: ['703'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1523371417.326240,VS0,VE191'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630464.172731,VS0,VE433'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -396,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/backend + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:43: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-04-10T14:43:37Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:45Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:45Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:38 GMT'] - fastly-ratelimit-remaining: ['758'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:45 GMT'] + fastly-ratelimit-remaining: ['702'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371418.583000,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] + x-timer: ['S1527630465.680626,VS0,VE405'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -424,26 +449,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/header + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","version":"2","updated_at":"2018-04-10T14:43:38Z","deleted_at":null,"created_at":"2018-04-10T14:43:38Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"2","updated_at":"2018-05-29T21:47:45Z","deleted_at":null,"created_at":"2018-05-29T21:47:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:38 GMT'] - fastly-ratelimit-remaining: ['757'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:45 GMT'] + fastly-ratelimit-remaining: ['701'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1523371418.094726,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] + x-timer: ['S1527630465.162399,VS0,VE401'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -452,104 +477,103 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/response_object + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:43:39Z","updated_at":"2018-04-10T14:43:39Z"}'} + 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:45Z","updated_at":"2018-05-29T21:47:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['305'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:39 GMT'] - fastly-ratelimit-remaining: ['756'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:46 GMT'] + fastly-ratelimit-remaining: ['700'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1523371419.785700,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] + x-timer: ['S1527630466.638522,VS0,VE435'] 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/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/settings + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"73GTR1qr7h9iRGU8pDAUSM"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:39 GMT'] - fastly-ratelimit-remaining: ['755'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:46 GMT'] + fastly-ratelimit-remaining: ['699'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1523371419.283319,VS0,VE165'] + x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] + x-timer: ['S1527630466.146426,VS0,VE439'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/activate + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:39Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:46Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:40 GMT'] - fastly-ratelimit-remaining: ['754'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:47 GMT'] + fastly-ratelimit-remaining: ['698'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371420.512509,VS0,VE696'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630467.069542,VS0,VE870'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/details + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:40Z","deployed":false}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa","version":{"testing":false,"number":2,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":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":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":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-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['3915'] + content-length: ['4047'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:40 GMT'] + date: ['Tue, 29 May 2018 21:47:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19121-FRA'] - x-timer: ['S1523371420.455462,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] + x-timer: ['S1527630468.014916,VS0,VE150'] status: {code: 200, message: OK} - request: body: null @@ -558,77 +582,76 @@ 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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"number":2,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:33Z","comment":""}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:41 GMT'] + date: ['Tue, 29 May 2018 21:47:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371421.665116,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630468.276248,VS0,VE462'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/details + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:40Z","deployed":false}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa","version":{"testing":false,"number":2,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":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":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":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-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['3915'] + content-length: ['4047'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:41 GMT'] + date: ['Tue, 29 May 2018 21:47:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371421.290332,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630469.456195,VS0,VE108'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/details + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:40Z","deployed":false}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa","version":{"testing":false,"number":2,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":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":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":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-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['3915'] + content-length: ['4047'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:41 GMT'] + date: ['Tue, 29 May 2018 21:47:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371421.472791,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] + x-timer: ['S1527630471.670663,VS0,VE117'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml index 3d97beb..b619aec 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":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:38Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:38Z","deployed":false},{"testing":false,"number":2,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"updated_at":"2018-04-10T14:42:46Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:39Z","comment":""}],"created_at":"2018-04-10T14:42:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:38Z","id":"3F6Otwe05w5SzR2n5slNdV"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":""}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,74 +14,74 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:47 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19142-FRA'] - x-timer: ['S1523371367.236350,VS0,VE138'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630406.236157,VS0,VE132'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/details + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/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":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:38Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:39Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:46Z","deployed":false}],"created_at":"2018-04-10T14:42:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:38Z","id":"3F6Otwe05w5SzR2n5slNdV","version":{"testing":false,"number":2,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"updated_at":"2018-04-10T14:42:46Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"updated_at":"2018-04-10T14:42:46Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['3915'] + content-length: ['4047'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:47 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19151-FRA'] - x-timer: ['S1523371367.439443,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] + x-timer: ['S1527630406.439997,VS0,VE133'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/deactivate + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:39Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:46Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:48 GMT'] - fastly-ratelimit-remaining: ['806'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:47 GMT'] + fastly-ratelimit-remaining: ['750'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371368.619884,VS0,VE469'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630407.647539,VS0,VE472'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:48 GMT'] - fastly-ratelimit-remaining: ['805'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:47 GMT'] + fastly-ratelimit-remaining: ['749'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371368.155560,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527630407.186540,VS0,VE424'] 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 bfc505e..751b72c 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,19 +10,18 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:38 GMT'] + date: ['Tue, 29 May 2018 21:46:37 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-fra19146-FRA'] - x-timer: ['S1523371359.631434,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630397.789542,VS0,VE371'] 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":"e355c73d91e2331b851e72c5eda1ba0acf8fa17a","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:38Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:38Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:42:38Z","comment":"","updated_at":"2018-04-10T14:42:38Z","id":"3F6Otwe05w5SzR2n5slNdV"}'} + Ansible Module Test","publish_key":"7049d6fb7d1036d315162182275b7f43d864e496","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:46:37Z","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:38 GMT'] - fastly-ratelimit-remaining: ['814'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:37 GMT'] + fastly-ratelimit-remaining: ['758'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371359.808456,VS0,VE135'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630397.235133,VS0,VE393'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/details + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/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":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:38Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:38Z","deployed":false}],"created_at":"2018-04-10T14:42:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:38Z","id":"3F6Otwe05w5SzR2n5slNdV","version":{"testing":false,"number":1,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"updated_at":"2018-04-10T14:42:38Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:42:38Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:37Z","active":false,"number":1,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:46:37Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1041'] + content-length: ['1107'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:39 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371359.998735,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630398.707863,VS0,VE399'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/1/clone + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:38Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:38Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:39 GMT'] - fastly-ratelimit-remaining: ['813'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:38 GMT'] + fastly-ratelimit-remaining: ['757'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1523371359.215949,VS0,VE480'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630398.177016,VS0,VE449'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/domain + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:40 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371360.875063,VS0,VE379'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630399.701022,VS0,VE111'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/healthcheck + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +137,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:40 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371361.504372,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] + x-timer: ['S1527630399.885721,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/condition + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:41 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19137-FRA'] - x-timer: ['S1523371361.690006,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630399.090121,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/backend + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:41 GMT'] + date: ['Tue, 29 May 2018 21:46: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: ['S1523371361.161366,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527630399.280597,VS0,VE361'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/director + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:41 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19142-FRA'] - x-timer: ['S1523371361.343964,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630400.714362,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/cache_settings + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +233,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:41 GMT'] + date: ['Tue, 29 May 2018 21:46:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19121-FRA'] - x-timer: ['S1523371362.808617,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630400.901865,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/gzip + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +257,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:42 GMT'] + date: ['Tue, 29 May 2018 21:46:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1523371362.988607,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630400.095760,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/header + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +281,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:42 GMT'] + date: ['Tue, 29 May 2018 21:46:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371362.454799,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630400.286116,VS0,VE359'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/request_settings + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +305,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:43 GMT'] + date: ['Tue, 29 May 2018 21:46:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371363.903115,VS0,VE379'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527630401.793033,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/response_object + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +329,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:43 GMT'] + date: ['Tue, 29 May 2018 21:46:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1523371363.377346,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] + x-timer: ['S1527630401.976313,VS0,VE132'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/snippet + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,39 +353,63 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:43 GMT'] + date: ['Tue, 29 May 2018 21:46:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371364.558190,VS0,VE383'] + x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] + x-timer: ['S1527630401.184551,VS0,VE113'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/logging/s3 + 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: ['Tue, 29 May 2018 21:46:41 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630401.378709,VS0,VE373'] 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/3F6Otwe05w5SzR2n5slNdV/version/2/domain + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"3F6Otwe05w5SzR2n5slNdV","version":2,"deleted_at":null,"created_at":"2018-04-10T14:42:44Z","updated_at":"2018-04-10T14:42:44Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5woSCM4smaL4MZsRWVcRAT","version":2,"deleted_at":null,"created_at":"2018-05-29T21:46:42Z","updated_at":"2018-05-29T21:46:42Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:44 GMT'] - fastly-ratelimit-remaining: ['812'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:42 GMT'] + fastly-ratelimit-remaining: ['756'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371364.002244,VS0,VE480'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630402.851211,VS0,VE440'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -397,25 +420,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/backend + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/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":"3F6Otwe05w5SzR2n5slNdV","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:42: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-04-10T14:42:44Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5woSCM4smaL4MZsRWVcRAT","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:42Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:42Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:44 GMT'] - fastly-ratelimit-remaining: ['811'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:42 GMT'] + fastly-ratelimit-remaining: ['755'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371365.544306,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] + x-timer: ['S1527630402.469941,VS0,VE416'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -425,26 +448,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/header + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/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":"3F6Otwe05w5SzR2n5slNdV","version":"2","updated_at":"2018-04-10T14:42:45Z","deleted_at":null,"created_at":"2018-04-10T14:42:45Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5woSCM4smaL4MZsRWVcRAT","version":"2","updated_at":"2018-05-29T21:46:43Z","deleted_at":null,"created_at":"2018-05-29T21:46:43Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:45 GMT'] - fastly-ratelimit-remaining: ['810'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:43 GMT'] + fastly-ratelimit-remaining: ['754'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371365.770059,VS0,VE438'] + x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] + x-timer: ['S1527630403.956828,VS0,VE400'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -453,104 +476,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/response_object + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/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":"3F6Otwe05w5SzR2n5slNdV","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:42:45Z","updated_at":"2018-04-10T14:42:45Z"}'} + 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"5woSCM4smaL4MZsRWVcRAT","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:43Z","updated_at":"2018-05-29T21:46:43Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['305'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:45 GMT'] - fastly-ratelimit-remaining: ['809'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:43 GMT'] + fastly-ratelimit-remaining: ['753'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371365.270853,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630403.428834,VS0,VE433'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/settings + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3F6Otwe05w5SzR2n5slNdV"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5woSCM4smaL4MZsRWVcRAT"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:45 GMT'] - fastly-ratelimit-remaining: ['808'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:44 GMT'] + fastly-ratelimit-remaining: ['752'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1523371365.481468,VS0,VE177'] + x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] + x-timer: ['S1527630404.938351,VS0,VE428'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/version/2/activate + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:39Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:45Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:43Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:46 GMT'] - fastly-ratelimit-remaining: ['807'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:45 GMT'] + fastly-ratelimit-remaining: ['751'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1523371366.720410,VS0,VE653'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630404.438200,VS0,VE637'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/details + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/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":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:38Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:39Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:46Z","deployed":false}],"created_at":"2018-04-10T14:42:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:38Z","id":"3F6Otwe05w5SzR2n5slNdV","version":{"testing":false,"number":2,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"updated_at":"2018-04-10T14:42:46Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"updated_at":"2018-04-10T14:42:46Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['3915'] + content-length: ['4047'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:46 GMT'] + date: ['Tue, 29 May 2018 21:46:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371366.435784,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630405.149624,VS0,VE147'] status: {code: 200, message: OK} - request: body: null @@ -559,76 +582,76 @@ 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":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:38Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:38Z","deployed":false},{"testing":false,"number":2,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"updated_at":"2018-04-10T14:42:46Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:39Z","comment":""}],"created_at":"2018-04-10T14:42:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:38Z","id":"3F6Otwe05w5SzR2n5slNdV"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":""}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:46 GMT'] + date: ['Tue, 29 May 2018 21:46:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371367.644707,VS0,VE146'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630405.370565,VS0,VE392'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/details + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/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":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:38Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:39Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:46Z","deployed":false}],"created_at":"2018-04-10T14:42:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:38Z","id":"3F6Otwe05w5SzR2n5slNdV","version":{"testing":false,"number":2,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"updated_at":"2018-04-10T14:42:46Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"updated_at":"2018-04-10T14:42:46Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['3915'] + content-length: ['4047'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:46 GMT'] + date: ['Tue, 29 May 2018 21:46:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371367.852673,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630406.844327,VS0,VE108'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3F6Otwe05w5SzR2n5slNdV/details + uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/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":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:38Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"created_at":"2018-04-10T14:42:39Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:46Z","deployed":false}],"created_at":"2018-04-10T14:42:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:38Z","id":"3F6Otwe05w5SzR2n5slNdV","version":{"testing":false,"number":2,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"updated_at":"2018-04-10T14:42:46Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3F6Otwe05w5SzR2n5slNdV","staging":false,"updated_at":"2018-04-10T14:42:46Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['3915'] + content-length: ['4047'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:47 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19122-FRA'] - x-timer: ['S1523371367.030167,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630406.031339,VS0,VE105'] 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 9da0e71..6958076 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml @@ -14,14 +14,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:48 GMT'] + date: ['Tue, 29 May 2018 21:46:47 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: ['S1523371369.658264,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630408.700423,VS0,VE113'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -31,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":"0ccec00cb89fd25ec5b28832de19745d8ab71c46","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:42:49Z","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk"}'} + Ansible Module Test","publish_key":"ab7eff5f2bc925782bc216ce7577af6490bec3af","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:46:47Z","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:49 GMT'] - fastly-ratelimit-remaining: ['804'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:48 GMT'] + fastly-ratelimit-remaining: ['748'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523371369.837601,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] + x-timer: ['S1527630408.891114,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/details + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk","version":{"testing":false,"number":1,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:42:49Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:42:49Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:47Z","active":false,"number":1,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:46:47Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1041'] + content-length: ['1107'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:49 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19130-FRA'] - x-timer: ['S1523371369.313016,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630408.115696,VS0,VE404'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/1/clone + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:50 GMT'] - fastly-ratelimit-remaining: ['803'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:49 GMT'] + fastly-ratelimit-remaining: ['747'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371370.524520,VS0,VE488'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630409.592099,VS0,VE467'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/domain + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:50 GMT'] + date: ['Tue, 29 May 2018 21:46:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371370.076044,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630409.144182,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/healthcheck + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -137,21 +137,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:50 GMT'] + date: ['Tue, 29 May 2018 21:46:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371371.555619,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] + x-timer: ['S1527630409.328648,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/condition + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -161,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:51 GMT'] + date: ['Tue, 29 May 2018 21:46:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523371371.051067,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] + x-timer: ['S1527630410.519659,VS0,VE368'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/backend + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:51 GMT'] + date: ['Tue, 29 May 2018 21:46:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371371.255460,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] + x-timer: ['S1527630410.963092,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/director + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:51 GMT'] + date: ['Tue, 29 May 2018 21:46:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371371.470104,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630410.152454,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/cache_settings + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -233,21 +233,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:51 GMT'] + date: ['Tue, 29 May 2018 21:46:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371372.672988,VS0,VE133'] + x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] + x-timer: ['S1527630410.353348,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/gzip + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -257,21 +257,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:52 GMT'] + date: ['Tue, 29 May 2018 21:46:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1523371372.866125,VS0,VE455'] + x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] + x-timer: ['S1527630411.543718,VS0,VE406'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/header + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -281,21 +281,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:52 GMT'] + date: ['Tue, 29 May 2018 21:46:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371372.409945,VS0,VE400'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527630411.026779,VS0,VE371'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/request_settings + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -305,21 +305,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:53 GMT'] + date: ['Tue, 29 May 2018 21:46:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371373.905889,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630411.469331,VS0,VE369'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/response_object + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -329,21 +329,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:53 GMT'] + date: ['Tue, 29 May 2018 21:46:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1523371374.500842,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630412.914102,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/snippet + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -353,39 +353,63 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:53 GMT'] + date: ['Tue, 29 May 2018 21:46:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371374.682976,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630412.102002,VS0,VE157'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/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: ['Tue, 29 May 2018 21:46:52 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527630412.332748,VS0,VE117'] 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/3QhCcK6EtKPwLHQ5FnCSlk/version/2/domain + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"3QhCcK6EtKPwLHQ5FnCSlk","version":2,"deleted_at":null,"created_at":"2018-04-10T14:42:54Z","updated_at":"2018-04-10T14:42:54Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":2,"deleted_at":null,"created_at":"2018-05-29T21:46:52Z","updated_at":"2018-05-29T21:46:52Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:54 GMT'] - fastly-ratelimit-remaining: ['802'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:52 GMT'] + fastly-ratelimit-remaining: ['746'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371374.861578,VS0,VE478'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630413.522885,VS0,VE458'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -396,25 +420,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/backend + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:42: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-04-10T14:42:54Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:53Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"ipv6":null,"min_tls_version":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:53Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:54 GMT'] - fastly-ratelimit-remaining: ['801'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:53 GMT'] + fastly-ratelimit-remaining: ['745'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371374.404195,VS0,VE425'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630413.057476,VS0,VE432'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -424,26 +448,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/header + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","version":"2","updated_at":"2018-04-10T14:42:54Z","deleted_at":null,"created_at":"2018-04-10T14:42:54Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"2","updated_at":"2018-05-29T21:46:53Z","deleted_at":null,"created_at":"2018-05-29T21:46:53Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:55 GMT'] - fastly-ratelimit-remaining: ['800'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:53 GMT'] + fastly-ratelimit-remaining: ['744'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371375.892715,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630414.562832,VS0,VE398'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -451,104 +475,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/response_object + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:42:55Z","updated_at":"2018-04-10T14:42:55Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:54Z","updated_at":"2018-05-29T21:46:54Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:55 GMT'] - fastly-ratelimit-remaining: ['799'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:54 GMT'] + fastly-ratelimit-remaining: ['743'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371375.104044,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] + x-timer: ['S1527630414.036331,VS0,VE393'] 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/3QhCcK6EtKPwLHQ5FnCSlk/version/2/settings + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:56 GMT'] - fastly-ratelimit-remaining: ['798'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:54 GMT'] + fastly-ratelimit-remaining: ['742'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1523371376.750307,VS0,VE464'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630415.503045,VS0,VE415'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/version/2/activate + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:55Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:54Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:57 GMT'] - fastly-ratelimit-remaining: ['797'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:55 GMT'] + fastly-ratelimit-remaining: ['741'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1523371376.380825,VS0,VE937'] + x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] + x-timer: ['S1527630415.056295,VS0,VE892'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/details + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:57Z","deployed":false}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk","version":{"testing":false,"number":2,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:42:57Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":"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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:42:57Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":"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-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['3861'] + content-length: ['3993'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:57 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19135-FRA'] - x-timer: ['S1523371377.420684,VS0,VE146'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630416.081911,VS0,VE147'] status: {code: 200, message: OK} - request: body: null @@ -557,77 +581,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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"number":2,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:42:57Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42:49Z","comment":""}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:57 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19122-FRA'] - x-timer: ['S1523371378.629682,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630416.304103,VS0,VE145'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/details + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:57Z","deployed":false}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk","version":{"testing":false,"number":2,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:42:57Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":"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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:42:57Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":"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-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['3861'] + content-length: ['3993'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:57 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19120-FRA'] - x-timer: ['S1523371378.836991,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630417.524357,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3QhCcK6EtKPwLHQ5FnCSlk/details + uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/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":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"created_at":"2018-04-10T14:42:49Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:57Z","deployed":false}],"created_at":"2018-04-10T14:42:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:42:49Z","id":"3QhCcK6EtKPwLHQ5FnCSlk","version":{"testing":false,"number":2,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:42:57Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":"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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3QhCcK6EtKPwLHQ5FnCSlk","staging":false,"updated_at":"2018-04-10T14:42:57Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:42: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":"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-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"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: ['3861'] + content-length: ['3993'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:42:58 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19143-FRA'] - x-timer: ['S1523371378.012798,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] + x-timer: ['S1527630417.712066,VS0,VE106'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyS3s_tearDown.yml b/tests/fixtures/cassettes/TestFastlyS3s_tearDown.yml new file mode 100644 index 0000000..d7f1855 --- /dev/null +++ b/tests/fixtures/cassettes/TestFastlyS3s_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":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['1150'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:47 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] + x-timer: ['S1527630227.088495,VS0,VE141'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['5409'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4425-AMS'] + x-timer: ['S1527630227.304582,VS0,VE111'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/deactivate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['231'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:47 GMT'] + fastly-ratelimit-remaining: ['919'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630227.490178,VS0,VE454'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:48 GMT'] + fastly-ratelimit-remaining: ['918'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630228.018339,VS0,VE435'] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s.yml b/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s.yml new file mode 100644 index 0000000..97398c8 --- /dev/null +++ b/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s.yml @@ -0,0 +1,799 @@ +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":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['918'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:34 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630214.120866,VS0,VE135'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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: ['Tue, 29 May 2018 21:43: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-ams4447-AMS'] + x-timer: ['S1527630214.327984,VS0,VE108'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/clone + response: + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['232'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:34 GMT'] + fastly-ratelimit-remaining: ['932'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] + x-timer: ['S1527630215.522057,VS0,VE445'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/domain + response: + body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","created_at":"2018-05-29T21:43:29Z","comment":"","updated_at":"2018-05-29T21:43:29Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['181'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4132-AMS'] + x-timer: ['S1527630215.035820,VS0,VE402'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/healthcheck + 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: ['Tue, 29 May 2018 21:43:35 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527630216.512340,VS0,VE400'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/condition + 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: ['Tue, 29 May 2018 21:43: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-ams4144-AMS'] + x-timer: ['S1527630216.987927,VS0,VE372'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/backend + response: + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:43:29Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:43:29Z","comment":""}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['718'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4129-AMS'] + x-timer: ['S1527630216.433754,VS0,VE369'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/director + 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: ['Tue, 29 May 2018 21:43:36 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630217.878173,VS0,VE117'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/cache_settings + response: + body: {string: !!python/unicode '[{"stale_ttl":"0","version":"4","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:30Z","action":null,"updated_at":"2018-05-29T21:43:30Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['243'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4121-AMS'] + x-timer: ['S1527630217.068846,VS0,VE412'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/gzip + 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: ['Tue, 29 May 2018 21:43: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-ams4432-AMS'] + x-timer: ['S1527630218.553520,VS0,VE365'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/header + response: + body: {string: !!python/unicode '[{"priority":"100","service_id":"2ElZpLWBqaLapYb4nPpjID","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:43:30Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:43:30Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['415'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4433-AMS'] + x-timer: ['S1527630218.993027,VS0,VE126'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/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: ['Tue, 29 May 2018 21:43:38 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630218.192534,VS0,VE374'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/response_object + response: + body: {string: !!python/unicode '[{"response":"Ok","version":"4","status":"200","name":"Set + 200 status code","content":"","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:31Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:43:31Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['280'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4125-AMS'] + x-timer: ['S1527630219.645480,VS0,VE366'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/snippet + 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: ['Tue, 29 May 2018 21:43: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-ams4432-AMS'] + x-timer: ['S1527630219.083570,VS0,VE360'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/logging/s3 + 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: ['Tue, 29 May 2018 21:43: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-ams4433-AMS'] + x-timer: ['S1527630220.516529,VS0,VE376'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/domain/example8000.com + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:40 GMT'] + fastly-ratelimit-remaining: ['931'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630220.968948,VS0,VE160'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/backend/localhost + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:40 GMT'] + fastly-ratelimit-remaining: ['930'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630220.203529,VS0,VE414'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/cache_settings/cache-settings-config-name + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:41 GMT'] + fastly-ratelimit-remaining: ['929'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] + x-timer: ['S1527630221.689474,VS0,VE454'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/header/Set%20Location%20header + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:41 GMT'] + fastly-ratelimit-remaining: ['928'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] + x-timer: ['S1527630221.317953,VS0,VE164'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/response_object/Set%20200%20status%20code + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:41 GMT'] + fastly-ratelimit-remaining: ['927'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630222.555137,VS0,VE219'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"comment": "", "name": "example8000.com"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/domain + response: + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2ElZpLWBqaLapYb4nPpjID","version":4,"deleted_at":null,"created_at":"2018-05-29T21:43:41Z","updated_at":"2018-05-29T21:43:41Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['179'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:42 GMT'] + fastly-ratelimit-remaining: ['926'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630222.849605,VS0,VE194'] + 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/2ElZpLWBqaLapYb4nPpjID/version/4/backend + response: + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:42Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:42Z","comment":""}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['716'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:42 GMT'] + fastly-ratelimit-remaining: ['925'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] + x-timer: ['S1527630222.120158,VS0,VE158'] + 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}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/header + response: + body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":"4","updated_at":"2018-05-29T21:43:42Z","deleted_at":null,"created_at":"2018-05-29T21:43:42Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['413'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:42 GMT'] + fastly-ratelimit-remaining: ['924'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630222.354577,VS0,VE396'] + 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/2ElZpLWBqaLapYb4nPpjID/version/4/response_object + response: + body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:43Z","updated_at":"2018-05-29T21:43:43Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['278'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:43 GMT'] + fastly-ratelimit-remaining: ['923'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630223.829925,VS0,VE397'] + 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, "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/2ElZpLWBqaLapYb4nPpjID/version/4/logging/s3 + response: + body: {string: !!python/unicode '{"access_key":"ACCESS_KEY","domain":"example8000.com","redundancy":"standard","placement":null,"name":"test_s3","format_version":"2","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b","server_side_encryption_kms_key_id":null,"period":"60","bucket_name":"prod-fastly-logs","path":"/","gzip_level":"0","secret_key":"SECRET","message_type":"classic","server_side_encryption":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","response_condition":"","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"4","public_key":null,"updated_at":"2018-05-29T21:43:43Z","deleted_at":null,"created_at":"2018-05-29T21:43:43Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['609'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:43 GMT'] + fastly-ratelimit-remaining: ['922'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] + x-timer: ['S1527630223.362079,VS0,VE547'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"general.default_ttl": 3600}' + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/settings + response: + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"2ElZpLWBqaLapYb4nPpjID"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['194'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:44 GMT'] + fastly-ratelimit-remaining: ['921'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] + x-timer: ['S1527630224.984600,VS0,VE443'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/activate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:43Z","deployed":false,"msg":null}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['241'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:45 GMT'] + fastly-ratelimit-remaining: ['920'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630225.593239,VS0,VE895'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['5409'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4150-AMS'] + x-timer: ['S1527630226.617466,VS0,VE395'] + 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":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['1150'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4145-AMS'] + x-timer: ['S1527630226.130481,VS0,VE442'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['5409'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4430-AMS'] + x-timer: ['S1527630227.641486,VS0,VE149'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['5409'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4420-AMS'] + x-timer: ['S1527630227.864419,VS0,VE113'] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s_remove.yml b/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s_remove.yml new file mode 100644 index 0000000..d829475 --- /dev/null +++ b/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s_remove.yml @@ -0,0 +1,657 @@ +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: ['Tue, 29 May 2018 21:43:48 GMT'] + status: [404 Not Found] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630229.534169,VS0,VE123'] + 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":"d9f49b1ab576116b22f4b9cf28d9f4057cbba4ea","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:43:49Z","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['512'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:49 GMT'] + fastly-ratelimit-remaining: ['917'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630229.730897,VS0,VE393'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:49Z","active":false,"number":1,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:43:49Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['1107'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:49 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] + x-timer: ['S1527630229.199158,VS0,VE441'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/1/clone + response: + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['232'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:50 GMT'] + fastly-ratelimit-remaining: ['916'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527630230.942018,VS0,VE439'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/domain + 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: ['Tue, 29 May 2018 21:43: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-ams4444-AMS'] + x-timer: ['S1527630230.451985,VS0,VE366'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/healthcheck + 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: ['Tue, 29 May 2018 21:43: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-ams4451-AMS'] + x-timer: ['S1527630231.890215,VS0,VE360'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/condition + 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: ['Tue, 29 May 2018 21:43: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-ams4131-AMS'] + x-timer: ['S1527630231.322988,VS0,VE114'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/backend + 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: ['Tue, 29 May 2018 21:43: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-ams4144-AMS'] + x-timer: ['S1527630232.510736,VS0,VE156'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/director + 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: ['Tue, 29 May 2018 21:43: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-ams4451-AMS'] + x-timer: ['S1527630232.737977,VS0,VE118'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/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: ['Tue, 29 May 2018 21:43: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-ams4146-AMS'] + x-timer: ['S1527630232.929566,VS0,VE361'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/gzip + 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: ['Tue, 29 May 2018 21:43: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-ams4438-AMS'] + x-timer: ['S1527630232.362485,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/header + 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: ['Tue, 29 May 2018 21:43: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-ams4428-AMS'] + x-timer: ['S1527630233.554434,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/request_settings + 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: ['Tue, 29 May 2018 21:43:52 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630233.749209,VS0,VE155'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/response_object + 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: ['Tue, 29 May 2018 21:43: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-ams4135-AMS'] + x-timer: ['S1527630233.980379,VS0,VE371'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/snippet + 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: ['Tue, 29 May 2018 21:43: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-ams4426-AMS'] + x-timer: ['S1527630233.425130,VS0,VE361'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/logging/s3 + 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: ['Tue, 29 May 2018 21:43: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-ams4125-AMS'] + x-timer: ['S1527630234.864720,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"comment": "", "name": "example8000.com"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/domain + response: + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":2,"deleted_at":null,"created_at":"2018-05-29T21:43:54Z","updated_at":"2018-05-29T21:43:54Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['179'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:54 GMT'] + fastly-ratelimit-remaining: ['915'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630234.057285,VS0,VE184'] + 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/2tI8MfAHvk4zqv70RFDCq6/version/2/backend + response: + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:54Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:54Z","comment":""}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['716'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:54 GMT'] + fastly-ratelimit-remaining: ['914'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630234.316445,VS0,VE169'] + 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}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/header + response: + body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"2","updated_at":"2018-05-29T21:43:54Z","deleted_at":null,"created_at":"2018-05-29T21:43:54Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['413'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:54 GMT'] + fastly-ratelimit-remaining: ['913'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630235.559505,VS0,VE432'] + 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/2tI8MfAHvk4zqv70RFDCq6/version/2/response_object + response: + body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:55Z","updated_at":"2018-05-29T21:43:55Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['278'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:55 GMT'] + fastly-ratelimit-remaining: ['912'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630235.137780,VS0,VE153'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"general.default_ttl": 3600}' + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/settings + response: + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2tI8MfAHvk4zqv70RFDCq6"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['194'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:55 GMT'] + fastly-ratelimit-remaining: ['911'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] + x-timer: ['S1527630235.365847,VS0,VE462'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/activate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:55Z","deployed":false,"msg":null}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['241'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43:56 GMT'] + fastly-ratelimit-remaining: ['910'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630236.974935,VS0,VE879'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['3993'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4128-AMS'] + x-timer: ['S1527630237.925914,VS0,VE147'] + 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":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":""}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['686'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4448-AMS'] + x-timer: ['S1527630237.149203,VS0,VE446'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['3993'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4123-AMS'] + x-timer: ['S1527630238.676655,VS0,VE110'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['3993'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:43: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-ams4428-AMS'] + x-timer: ['S1527630238.857283,VS0,VE108'] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml b/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml index 3882d32..f2316f7 100644 --- a/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlySettings_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":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:10Z","deployed":false},{"testing":false,"number":2,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"updated_at":"2018-04-10T14:43:18Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:11Z","comment":""}],"created_at":"2018-04-10T14:43:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:10Z","id":"3obbhpGVKLCoquzjvs0dMW"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":""}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:19 GMT'] + date: ['Tue, 29 May 2018 21:47:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371400.791803,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] + x-timer: ['S1527630441.104684,VS0,VE135'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/details + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/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":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:10Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:11Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:18Z","deployed":false}],"created_at":"2018-04-10T14:43:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:10Z","id":"3obbhpGVKLCoquzjvs0dMW","version":{"testing":false,"number":2,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"updated_at":"2018-04-10T14:43:18Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"updated_at":"2018-04-10T14:43:18Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3861'] + content-length: ['3993'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:20 GMT'] + date: ['Tue, 29 May 2018 21:47:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371400.985623,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630441.312028,VS0,VE397'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/deactivate + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:11Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:18Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:20 GMT'] - fastly-ratelimit-remaining: ['774'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:22 GMT'] + fastly-ratelimit-remaining: ['718'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371400.160979,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630442.785045,VS0,VE458'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -88,15 +89,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:20 GMT'] - fastly-ratelimit-remaining: ['773'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:22 GMT'] + fastly-ratelimit-remaining: ['717'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1523371400.379669,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630442.319348,VS0,VE382'] 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 c69f074..066aa5e 100644 --- a/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml +++ b/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:10 GMT'] + date: ['Tue, 29 May 2018 21:47:10 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: ['S1523371390.195591,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527630431.685459,VS0,VE111'] 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":"49e81fc8951c0ec95fae6be9c99c0d47e89229b6","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:10Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:43:10Z","comment":"","updated_at":"2018-04-10T14:43:10Z","id":"3obbhpGVKLCoquzjvs0dMW"}'} + Ansible Module Test","publish_key":"03fd109c36b13d306f53f7a24d2e92e6c0d8f6ed","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:10 GMT'] - fastly-ratelimit-remaining: ['782'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:11 GMT'] + fastly-ratelimit-remaining: ['726'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371390.375851,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] + x-timer: ['S1527630431.870499,VS0,VE384'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/details + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/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":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:10Z","deployed":false}],"created_at":"2018-04-10T14:43:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:10Z","id":"3obbhpGVKLCoquzjvs0dMW","version":{"testing":false,"number":1,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"updated_at":"2018-04-10T14:43:10Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:43:10Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:11Z","active":false,"number":1,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1041'] + content-length: ['1107'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:11 GMT'] + date: ['Tue, 29 May 2018 21:47:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371391.579844,VS0,VE956'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630431.330258,VS0,VE156'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/1/clone + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:10Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:11 GMT'] - fastly-ratelimit-remaining: ['781'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:11 GMT'] + fastly-ratelimit-remaining: ['725'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1523371392.613928,VS0,VE195'] + x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] + x-timer: ['S1527630432.559487,VS0,VE403'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/domain + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:12 GMT'] + date: ['Tue, 29 May 2018 21:47:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371392.870609,VS0,VE385'] + x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] + x-timer: ['S1527630432.040879,VS0,VE363'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/healthcheck + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:12 GMT'] + date: ['Tue, 29 May 2018 21:47:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371392.462039,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630432.475165,VS0,VE379'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/condition + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:13 GMT'] + date: ['Tue, 29 May 2018 21:47:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371393.643565,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630433.927564,VS0,VE369'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/backend + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:13 GMT'] + date: ['Tue, 29 May 2018 21:47:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371393.115215,VS0,VE383'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527630433.371027,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/director + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:13 GMT'] + date: ['Tue, 29 May 2018 21:47:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1523371394.715871,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630434.559836,VS0,VE372'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/cache_settings + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:14 GMT'] + date: ['Tue, 29 May 2018 21:47:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371394.897102,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] + x-timer: ['S1527630434.005570,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/gzip + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:14 GMT'] + date: ['Tue, 29 May 2018 21:47:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371394.078181,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630434.410274,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/header + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:14 GMT'] + date: ['Tue, 29 May 2018 21:47:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371394.259619,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630436.612696,VS0,VE153'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/request_settings + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:15 GMT'] + date: ['Tue, 29 May 2018 21:47:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19121-FRA'] - x-timer: ['S1523371395.751760,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630436.843152,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/response_object + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:15 GMT'] + date: ['Tue, 29 May 2018 21:47:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371395.196369,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630436.036134,VS0,VE369'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/snippet + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,39 +354,63 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:15 GMT'] + date: ['Tue, 29 May 2018 21:47:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1523371395.382017,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630436.479284,VS0,VE113'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/logging/s3 + 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: ['Tue, 29 May 2018 21:47:16 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630437.668200,VS0,VE118'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/domain + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"3obbhpGVKLCoquzjvs0dMW","version":2,"deleted_at":null,"created_at":"2018-04-10T14:43:15Z","updated_at":"2018-04-10T14:43:15Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6YdYUw8mSbggzNKYDVCdpF","version":2,"deleted_at":null,"created_at":"2018-05-29T21:47:17Z","updated_at":"2018-05-29T21:47:17Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:16 GMT'] - fastly-ratelimit-remaining: ['780'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:17 GMT'] + fastly-ratelimit-remaining: ['724'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371396.566944,VS0,VE456'] + x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] + x-timer: ['S1527630437.858279,VS0,VE451'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -397,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/backend + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/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":"3obbhpGVKLCoquzjvs0dMW","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:43: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-04-10T14:43:16Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6YdYUw8mSbggzNKYDVCdpF","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:17Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:17Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:16 GMT'] - fastly-ratelimit-remaining: ['779'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:17 GMT'] + fastly-ratelimit-remaining: ['723'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371396.088402,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630437.383486,VS0,VE417'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -425,26 +449,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/header + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/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":"3obbhpGVKLCoquzjvs0dMW","version":"2","updated_at":"2018-04-10T14:43:16Z","deleted_at":null,"created_at":"2018-04-10T14:43:16Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6YdYUw8mSbggzNKYDVCdpF","version":"2","updated_at":"2018-05-29T21:47:18Z","deleted_at":null,"created_at":"2018-05-29T21:47:18Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:16 GMT'] - fastly-ratelimit-remaining: ['778'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:18 GMT'] + fastly-ratelimit-remaining: ['722'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371397.605621,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630438.876722,VS0,VE400'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -452,104 +476,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/response_object + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/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":"3obbhpGVKLCoquzjvs0dMW","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:43:17Z","updated_at":"2018-04-10T14:43:17Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6YdYUw8mSbggzNKYDVCdpF","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:18Z","updated_at":"2018-05-29T21:47:18Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:17 GMT'] - fastly-ratelimit-remaining: ['777'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:18 GMT'] + fastly-ratelimit-remaining: ['721'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371397.815531,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630438.351763,VS0,VE414'] 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/3obbhpGVKLCoquzjvs0dMW/version/2/settings + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/settings response: - body: {string: !!python/unicode '{"general.default_ttl":1000,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3obbhpGVKLCoquzjvs0dMW"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6YdYUw8mSbggzNKYDVCdpF"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:17 GMT'] - fastly-ratelimit-remaining: ['776'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:19 GMT'] + fastly-ratelimit-remaining: ['720'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371397.403872,VS0,VE463'] + x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] + x-timer: ['S1527630439.844975,VS0,VE173'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/version/2/activate + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:11Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:17Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:18Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:18 GMT'] - fastly-ratelimit-remaining: ['775'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:19 GMT'] + fastly-ratelimit-remaining: ['719'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371398.930260,VS0,VE1010'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630439.103929,VS0,VE867'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/details + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/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":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:10Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:11Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:18Z","deployed":false}],"created_at":"2018-04-10T14:43:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:10Z","id":"3obbhpGVKLCoquzjvs0dMW","version":{"testing":false,"number":2,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"updated_at":"2018-04-10T14:43:18Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"updated_at":"2018-04-10T14:43:18Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3861'] + content-length: ['3993'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:19 GMT'] + date: ['Tue, 29 May 2018 21:47: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: ['S1523371399.003429,VS0,VE149'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630440.042111,VS0,VE141'] status: {code: 200, message: OK} - request: body: null @@ -558,77 +582,76 @@ 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":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:10Z","deployed":false},{"testing":false,"number":2,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"updated_at":"2018-04-10T14:43:18Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:11Z","comment":""}],"created_at":"2018-04-10T14:43:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:10Z","id":"3obbhpGVKLCoquzjvs0dMW"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":""}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:19 GMT'] + date: ['Tue, 29 May 2018 21:47: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: ['S1523371399.216697,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630440.255483,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/details + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/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":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:10Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:11Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:18Z","deployed":false}],"created_at":"2018-04-10T14:43:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:10Z","id":"3obbhpGVKLCoquzjvs0dMW","version":{"testing":false,"number":2,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"updated_at":"2018-04-10T14:43:18Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"updated_at":"2018-04-10T14:43:18Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3861'] + content-length: ['3993'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:19 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19146-FRA'] - x-timer: ['S1523371399.422450,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630441.717739,VS0,VE106'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3obbhpGVKLCoquzjvs0dMW/details + uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/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":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:10Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"created_at":"2018-04-10T14:43:11Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:18Z","deployed":false}],"created_at":"2018-04-10T14:43:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:10Z","id":"3obbhpGVKLCoquzjvs0dMW","version":{"testing":false,"number":2,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"updated_at":"2018-04-10T14:43:18Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"3obbhpGVKLCoquzjvs0dMW","staging":false,"updated_at":"2018-04-10T14:43:18Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3861'] + content-length: ['3993'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:19 GMT'] + date: ['Tue, 29 May 2018 21:47:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371400.596402,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527630441.896979,VS0,VE108'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml b/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml index 1b3882f..01a2b38 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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:51Z","deployed":false},{"testing":false,"number":3,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:42Z","comment":""}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:52 GMT'] + date: ['Tue, 29 May 2018 21:48:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1523371432.324722,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630484.515358,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/details + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:51Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:51Z","deployed":false}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa","version":{"testing":false,"number":3,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":"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":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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":"4XHhmJnuM9ORvaeyjn0cpJ"}],"vcls":[],"wordpress":[],"settings":{"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":"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":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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":"4XHhmJnuM9ORvaeyjn0cpJ"}],"vcls":[],"wordpress":[],"settings":{"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":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4721'] + content-length: ['4853'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:52 GMT'] + date: ['Tue, 29 May 2018 21:48:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371433.527708,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630484.730678,VS0,VE111'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/deactivate + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:51Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:52 GMT'] - fastly-ratelimit-remaining: ['741'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:04 GMT'] + fastly-ratelimit-remaining: ['685'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1523371433.703148,VS0,VE205'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630484.916199,VS0,VE468'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -93,15 +94,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:53 GMT'] - fastly-ratelimit-remaining: ['740'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:04 GMT'] + fastly-ratelimit-remaining: ['684'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371433.972957,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630484.457337,VS0,VE384'] 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 cac6670..a78d41b 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,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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"number":2,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:33Z","comment":""}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,76 +14,76 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:41 GMT'] + date: ['Tue, 29 May 2018 21:47:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19121-FRA'] - x-timer: ['S1523371422.724150,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630471.922683,VS0,VE441'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/details + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:40Z","deployed":false}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa","version":{"testing":false,"number":2,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":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":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:33Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":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-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['3915'] + content-length: ['4047'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:42 GMT'] + date: ['Tue, 29 May 2018 21:47:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371422.939808,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] + x-timer: ['S1527630471.435227,VS0,VE105'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/2/clone + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:40Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:42 GMT'] - fastly-ratelimit-remaining: ['753'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:52 GMT'] + fastly-ratelimit-remaining: ['697'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371422.117738,VS0,VE429'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630472.610152,VS0,VE464'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/domain + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","created_at":"2018-04-10T14:43:37Z","comment":"","updated_at":"2018-04-10T14:43:37Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","created_at":"2018-05-29T21:47:44Z","comment":"","updated_at":"2018-05-29T21:47:44Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +91,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:43 GMT'] + date: ['Tue, 29 May 2018 21:47:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371423.753367,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] + x-timer: ['S1527630472.142501,VS0,VE401'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/healthcheck + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:43 GMT'] + date: ['Tue, 29 May 2018 21:47:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1523371423.227968,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630473.612927,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/condition + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +139,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:43 GMT'] + date: ['Tue, 29 May 2018 21:47: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: ['S1523371423.416814,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630473.800905,VS0,VE412'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/backend + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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-04-10T14:43: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":"4Dd6vJ5n9c4CIvlGGJOwsa","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-04-10T14:43: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-29T21:47:45Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:47:45Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +163,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:44 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19129-FRA'] - x-timer: ['S1523371424.910097,VS0,VE388'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630473.278268,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/director + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +187,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:44 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19151-FRA'] - x-timer: ['S1523371424.362355,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630473.465563,VS0,VE362'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/cache_settings + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:44 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19143-FRA'] - x-timer: ['S1523371425.551571,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] + x-timer: ['S1527630474.897618,VS0,VE111'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/gzip + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +235,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:45 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19121-FRA'] - x-timer: ['S1523371425.725315,VS0,VE378'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630474.079986,VS0,VE363'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/header + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T14:43: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-04-10T14:43:38Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"73GTR1qr7h9iRGU8pDAUSM","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:47:45Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:47:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +260,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:45 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19144-FRA'] - x-timer: ['S1523371425.164925,VS0,VE381'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630475.513701,VS0,VE418'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/request_settings + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +284,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:45 GMT'] + date: ['Tue, 29 May 2018 21:47: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: ['S1523371426.609054,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630475.061092,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/response_object + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","cache_condition":"","created_at":"2018-04-10T14:43:39Z","content_type":"text/plain","request_condition":"","updated_at":"2018-04-10T14:43:39Z"}]'} + 200 status code","content":"Hello from Fastly","deleted_at":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","cache_condition":"","created_at":"2018-05-29T21:47:45Z","content_type":"text/plain","request_condition":"","updated_at":"2018-05-29T21:47:45Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +309,21 @@ interactions: connection: [keep-alive] content-length: ['307'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:45 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19126-FRA'] - x-timer: ['S1523371426.785714,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527630476.541519,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/snippet + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +333,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:46 GMT'] + date: ['Tue, 29 May 2018 21:47: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-fra19136-FRA'] - x-timer: ['S1523371426.964017,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527630476.770088,VS0,VE362'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/logging/s3 + 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: ['Tue, 29 May 2018 21:47:56 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630476.277472,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/domain/example8000.com + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -356,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:46 GMT'] - fastly-ratelimit-remaining: ['752'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:56 GMT'] + fastly-ratelimit-remaining: ['696'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371426.136727,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630476.469708,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/backend/localhost + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -381,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:46 GMT'] - fastly-ratelimit-remaining: ['751'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:57 GMT'] + fastly-ratelimit-remaining: ['695'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371427.666032,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630477.981795,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -406,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:47 GMT'] - fastly-ratelimit-remaining: ['750'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:57 GMT'] + fastly-ratelimit-remaining: ['694'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1523371427.893007,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630478.519144,VS0,VE404'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -431,41 +455,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:47 GMT'] - fastly-ratelimit-remaining: ['749'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:58 GMT'] + fastly-ratelimit-remaining: ['693'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371427.454774,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] + x-timer: ['S1527630478.033373,VS0,VE404'] 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/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/domain + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","version":3,"deleted_at":null,"created_at":"2018-04-10T14:43:48Z","updated_at":"2018-04-10T14:43:48Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":3,"deleted_at":null,"created_at":"2018-05-29T21:47:58Z","updated_at":"2018-05-29T21:47:58Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:48 GMT'] - fastly-ratelimit-remaining: ['748'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:59 GMT'] + fastly-ratelimit-remaining: ['692'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371428.935695,VS0,VE462'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630479.543568,VS0,VE482'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -476,25 +500,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/backend + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:43: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-04-10T14:43:48Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:59Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:59Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:49 GMT'] - fastly-ratelimit-remaining: ['747'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:47:59 GMT'] + fastly-ratelimit-remaining: ['691'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371429.599905,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527630479.173889,VS0,VE415'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -504,26 +528,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/header + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","version":"3","updated_at":"2018-04-10T14:43:49Z","deleted_at":null,"created_at":"2018-04-10T14:43:49Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"3","updated_at":"2018-05-29T21:48:00Z","deleted_at":null,"created_at":"2018-05-29T21:48:00Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:49 GMT'] - fastly-ratelimit-remaining: ['746'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:00 GMT'] + fastly-ratelimit-remaining: ['690'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371429.085321,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527630480.672023,VS0,VE431'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -531,26 +555,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/response_object + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:43:49Z","updated_at":"2018-04-10T14:43:49Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:48:00Z","updated_at":"2018-05-29T21:48:00Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:50 GMT'] - fastly-ratelimit-remaining: ['745'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:00 GMT'] + fastly-ratelimit-remaining: ['689'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371430.578878,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] + x-timer: ['S1527630480.180116,VS0,VE407'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"content": "\n if (resp.status >= 500 && resp.status @@ -560,110 +584,110 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/snippet + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","version":"3","deleted_at":null,"created_at":"2018-04-10T14:43:50Z","updated_at":"2018-04-10T14:43:50Z","id":"4XHhmJnuM9ORvaeyjn0cpJ"}'} + stale content","priority":100,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"3","deleted_at":null,"created_at":"2018-05-29T21:48:00Z","updated_at":"2018-05-29T21:48:00Z","id":"7SMQYaUxuWYwBHppX8y6RJ"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['452'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:50 GMT'] - fastly-ratelimit-remaining: ['744'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:00 GMT'] + fastly-ratelimit-remaining: ['688'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371430.099736,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] + x-timer: ['S1527630481.660994,VS0,VE136'] 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/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/settings + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"73GTR1qr7h9iRGU8pDAUSM"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:50 GMT'] - fastly-ratelimit-remaining: ['743'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:01 GMT'] + fastly-ratelimit-remaining: ['687'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371430.293945,VS0,VE180'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630481.869614,VS0,VE452'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/version/3/activate + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:50Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:00Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:51 GMT'] - fastly-ratelimit-remaining: ['742'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:48:02 GMT'] + fastly-ratelimit-remaining: ['686'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371431.537825,VS0,VE897'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630481.413838,VS0,VE874'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/details + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:51Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:51Z","deployed":false}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa","version":{"testing":false,"number":3,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":"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":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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":"4XHhmJnuM9ORvaeyjn0cpJ"}],"vcls":[],"wordpress":[],"settings":{"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":"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":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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":"4XHhmJnuM9ORvaeyjn0cpJ"}],"vcls":[],"wordpress":[],"settings":{"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":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4721'] + content-length: ['4853'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:51 GMT'] + date: ['Tue, 29 May 2018 21:48:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371432.525621,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630482.438881,VS0,VE138'] status: {code: 200, message: OK} - request: body: null @@ -672,7 +696,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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:51Z","deployed":false},{"testing":false,"number":3,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43:42Z","comment":""}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -680,77 +704,77 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:51 GMT'] + date: ['Tue, 29 May 2018 21:48:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371432.735806,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630483.652065,VS0,VE396'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/details + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:51Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:51Z","deployed":false}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa","version":{"testing":false,"number":3,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":"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":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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":"4XHhmJnuM9ORvaeyjn0cpJ"}],"vcls":[],"wordpress":[],"settings":{"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":"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":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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":"4XHhmJnuM9ORvaeyjn0cpJ"}],"vcls":[],"wordpress":[],"settings":{"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":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4721'] + content-length: ['4853'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:52 GMT'] + date: ['Tue, 29 May 2018 21:48:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523371432.938893,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630483.123409,VS0,VE107'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4Dd6vJ5n9c4CIvlGGJOwsa/details + uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/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":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:32Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:32Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:33Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:51Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"created_at":"2018-04-10T14:43:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:43:51Z","deployed":false}],"created_at":"2018-04-10T14:43:32Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:43:32Z","id":"4Dd6vJ5n9c4CIvlGGJOwsa","version":{"testing":false,"number":3,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":"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":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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":"4XHhmJnuM9ORvaeyjn0cpJ"}],"vcls":[],"wordpress":[],"settings":{"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"4Dd6vJ5n9c4CIvlGGJOwsa","staging":false,"updated_at":"2018-04-10T14:43:51Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:43: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":"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":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"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":"4XHhmJnuM9ORvaeyjn0cpJ"}],"vcls":[],"wordpress":[],"settings":{"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":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4721'] + content-length: ['4853'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:43:52 GMT'] + date: ['Tue, 29 May 2018 21:48:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371432.123880,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] + x-timer: ['S1527630483.303771,VS0,VE111'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/tearDown b/tests/fixtures/cassettes/tearDown index 39c0d40..154e71b 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":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-06T12:23:27Z","deleted_at":null,"comment":"","updated_at":"2018-04-06T12:23:27Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-06T12:23:27Z","deleted_at":null,"comment":"","updated_at":"2018-04-06T12:23:30Z","deployed":false},{"testing":false,"number":3,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"updated_at":"2018-04-10T14:40:26Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:18Z","comment":""}],"created_at":"2018-04-06T12:23:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-06T12:23:27Z","id":"2OoDoy0MEvFrKvrn2l5VVl"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":""}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,70 +14,70 @@ interactions: connection: [keep-alive] content-length: ['925'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:26 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19150-FRA'] - x-timer: ['S1523371227.618956,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527630248.779315,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/details + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/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":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-06T12:23:27Z","deleted_at":null,"comment":"","updated_at":"2018-04-06T12:23:27Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-06T12:23:27Z","deleted_at":null,"comment":"","updated_at":"2018-04-06T12:23:30Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-10T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:26Z","deployed":false}],"created_at":"2018-04-06T12:23:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-06T12:23:27Z","id":"2OoDoy0MEvFrKvrn2l5VVl","version":{"testing":false,"number":3,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"updated_at":"2018-04-10T14:40:26Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:18Z","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"updated_at":"2018-04-10T14:40:26Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:18Z","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.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":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:07Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3412'] + content-length: ['3544'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:26 GMT'] + date: ['Tue, 29 May 2018 21:44:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371227.836983,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527630248.987874,VS0,VE109'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/deactivate + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-10T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:26Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:07Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:27 GMT'] - fastly-ratelimit-remaining: ['957'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:08 GMT'] + fastly-ratelimit-remaining: ['900'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371227.010091,VS0,VE492'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630248.173155,VS0,VE430'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -86,15 +86,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:27 GMT'] - fastly-ratelimit-remaining: ['956'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:09 GMT'] + fastly-ratelimit-remaining: ['899'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371228.565734,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630249.678669,VS0,VE395'] 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 b42e991..93eb23d 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":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-06T12:23:27Z","deleted_at":null,"comment":"","updated_at":"2018-04-06T12:23:27Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-06T12:23:27Z","deleted_at":null,"comment":"","updated_at":"2018-04-06T12:23:30Z","deployed":false}],"created_at":"2018-04-06T12:23:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-06T12:23:27Z","id":"2OoDoy0MEvFrKvrn2l5VVl"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,74 +14,74 @@ interactions: connection: [keep-alive] content-length: ['694'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:17 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19136-FRA'] - x-timer: ['S1523371218.524155,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630238.093228,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/details + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/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":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-06T12:23:27Z","deleted_at":null,"comment":"","updated_at":"2018-04-06T12:23:27Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-06T12:23:27Z","deleted_at":null,"comment":"","updated_at":"2018-04-06T12:23:30Z","deployed":false}],"created_at":"2018-04-06T12:23:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-06T12:23:27Z","id":"2OoDoy0MEvFrKvrn2l5VVl","version":{"testing":false,"number":2,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"updated_at":"2018-04-06T12:23:30Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-06T12:23: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\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T16:36:45Z","active":false,"number":2,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T16:36:40Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.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}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2310'] + content-length: ['2376'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:17 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19142-FRA'] - x-timer: ['S1523371218.701177,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] + x-timer: ['S1527630238.279749,VS0,VE443'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/2/clone + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-06T12:23:27Z","deleted_at":null,"comment":"","updated_at":"2018-04-06T12:23:30Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:18 GMT'] - fastly-ratelimit-remaining: ['966'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:43:59 GMT'] + fastly-ratelimit-remaining: ['909'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371218.913245,VS0,VE208'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630239.825529,VS0,VE453'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/domain + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","created_at":"2018-04-06T12:23:28Z","comment":"test1","updated_at":"2018-04-06T12:23:28Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","created_at":"2018-05-29T16:36:44Z","comment":"test1","updated_at":"2018-05-29T16:36:44Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -89,21 +89,21 @@ interactions: connection: [keep-alive] content-length: ['190'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:18 GMT'] + date: ['Tue, 29 May 2018 21:43: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-fra19138-FRA'] - x-timer: ['S1523371218.185139,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630239.349544,VS0,VE361'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/healthcheck + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:18 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19144-FRA'] - x-timer: ['S1523371219.864958,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] + x-timer: ['S1527630240.784868,VS0,VE363'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/condition + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -137,23 +137,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:19 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19136-FRA'] - x-timer: ['S1523371219.045234,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630240.220386,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/backend + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/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-04-06T12:23: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":"2OoDoy0MEvFrKvrn2l5VVl","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-04-06T12:23: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-29T16:36:44Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T16:36:44Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -161,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:19 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371219.222066,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527630240.405977,VS0,VE375'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/director + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:19 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19141-FRA'] - x-timer: ['S1523371219.398975,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630241.854541,VS0,VE368'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/cache_settings + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:19 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371220.587115,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630241.294069,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/gzip + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -233,24 +233,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:20 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19139-FRA'] - x-timer: ['S1523371220.094473,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] + x-timer: ['S1527630241.481952,VS0,VE136'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/header + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"2OoDoy0MEvFrKvrn2l5VVl","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-06T12:23: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-04-06T12:23:29Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3anjYL1mfxKTdZXjeE4v2m","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T16:36:45Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T16:36:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:20 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19139-FRA'] - x-timer: ['S1523371220.273702,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630242.692987,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/request_settings + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -282,24 +282,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:20 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19134-FRA'] - x-timer: ['S1523371220.459281,VS0,VE380'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630242.878331,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/response_object + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/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":"2OoDoy0MEvFrKvrn2l5VVl","cache_condition":"","created_at":"2018-04-06T12:23:30Z","content_type":"","request_condition":"","updated_at":"2018-04-06T12:23:30Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","cache_condition":"","created_at":"2018-05-29T16:36:45Z","content_type":"","request_condition":"","updated_at":"2018-05-29T16:36:45Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -307,21 +307,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:21 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19127-FRA'] - x-timer: ['S1523371221.957138,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630242.072456,VS0,VE367'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/snippet + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -331,21 +331,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:21 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371222.585083,VS0,VE387'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630243.514247,VS0,VE118'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/logging/s3 + 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: ['Tue, 29 May 2018 21:44: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-ams4126-AMS'] + x-timer: ['S1527630243.705678,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -354,23 +378,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:22 GMT'] - fastly-ratelimit-remaining: ['965'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:03 GMT'] + fastly-ratelimit-remaining: ['908'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371222.029099,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527630243.896505,VS0,VE415'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/backend/localhost + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -379,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:22 GMT'] - fastly-ratelimit-remaining: ['964'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:03 GMT'] + fastly-ratelimit-remaining: ['907'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1523371222.245034,VS0,VE425'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630243.381780,VS0,VE418'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -404,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:22 GMT'] - fastly-ratelimit-remaining: ['963'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:04 GMT'] + fastly-ratelimit-remaining: ['906'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1523371223.836096,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630244.874739,VS0,VE455'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -429,41 +453,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:23 GMT'] - fastly-ratelimit-remaining: ['962'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:04 GMT'] + fastly-ratelimit-remaining: ['905'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1523371223.051866,VS0,VE154'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630244.404756,VS0,VE413'] 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/2OoDoy0MEvFrKvrn2l5VVl/version/3/domain + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"2OoDoy0MEvFrKvrn2l5VVl","version":3,"deleted_at":null,"created_at":"2018-04-10T14:40:23Z","updated_at":"2018-04-10T14:40:23Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3anjYL1mfxKTdZXjeE4v2m","version":3,"deleted_at":null,"created_at":"2018-05-29T21:44:05Z","updated_at":"2018-05-29T21:44:05Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:23 GMT'] - fastly-ratelimit-remaining: ['961'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:05 GMT'] + fastly-ratelimit-remaining: ['904'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1523371223.269351,VS0,VE467'] + x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] + x-timer: ['S1527630245.891169,VS0,VE463'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -474,59 +498,59 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/backend + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/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":"2OoDoy0MEvFrKvrn2l5VVl","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend.example.net","client_cert":null,"updated_at":"2018-04-10T14:40:24Z","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-04-10T14:40:24Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend.example.net","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend.example.net","between_bytes_timeout":10000,"max_conn":200,"port":443,"ssl_hostname":"my-backend.example.net","shield":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend.example.net","client_cert":null,"updated_at":"2018-05-29T21:44:05Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":true,"created_at":"2018-05-29T21:44:05Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['775'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:24 GMT'] - fastly-ratelimit-remaining: ['960'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:05 GMT'] + fastly-ratelimit-remaining: ['903'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371224.881098,VS0,VE456'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630245.428577,VS0,VE414'] 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/2OoDoy0MEvFrKvrn2l5VVl/version/3/settings + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2OoDoy0MEvFrKvrn2l5VVl"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3anjYL1mfxKTdZXjeE4v2m"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:24 GMT'] - fastly-ratelimit-remaining: ['959'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:06 GMT'] + fastly-ratelimit-remaining: ['902'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371224.399683,VS0,VE463'] + x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] + x-timer: ['S1527630246.918102,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/version/3/activate + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-10T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:24Z","deployed":false,"msg":"Warning: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:05Z","deployed":false,"msg":"Warning: 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: @@ -535,39 +559,39 @@ interactions: connection: [keep-alive] content-length: ['458'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:26 GMT'] - fastly-ratelimit-remaining: ['958'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:07 GMT'] + fastly-ratelimit-remaining: ['901'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371225.924647,VS0,VE1255'] + x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] + x-timer: ['S1527630246.408331,VS0,VE1047'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2OoDoy0MEvFrKvrn2l5VVl/details + uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/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":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-06T12:23:27Z","deleted_at":null,"comment":"","updated_at":"2018-04-06T12:23:27Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-06T12:23:27Z","deleted_at":null,"comment":"","updated_at":"2018-04-06T12:23:30Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"created_at":"2018-04-10T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:26Z","deployed":false}],"created_at":"2018-04-06T12:23:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-06T12:23:27Z","id":"2OoDoy0MEvFrKvrn2l5VVl","version":{"testing":false,"number":3,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"updated_at":"2018-04-10T14:40:26Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:18Z","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"2OoDoy0MEvFrKvrn2l5VVl","staging":false,"updated_at":"2018-04-10T14:40:26Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:18Z","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.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":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:07Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3412'] + content-length: ['3544'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:26 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19149-FRA'] - x-timer: ['S1523371226.390053,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] + x-timer: ['S1527630248.530506,VS0,VE152'] 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 19ec168..ef71c49 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_port_not_required +++ b/tests/fixtures/cassettes/test_fastly_backend_port_not_required @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:28 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19127-FRA'] - x-timer: ['S1523371228.042396,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] + x-timer: ['S1527630249.159502,VS0,VE112'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -32,79 +32,79 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"aff48e99464958af08fca2c538cfcc2087acd957","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:40:28Z","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + Fastly Ansible Module Test","publish_key":"02cd31ff4b39e87a6e1f4d19b11f12640903a100","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:44:09Z","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['516'] + content-length: ['518'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:28 GMT'] - fastly-ratelimit-remaining: ['955'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:09 GMT'] + fastly-ratelimit-remaining: ['898'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371228.223318,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630249.347148,VS0,VE392'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":1,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:28Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:40:28Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:09Z","active":false,"number":1,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:44:09Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1044'] + content-length: ['1113'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:28 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19151-FRA'] - x-timer: ['S1523371228.425161,VS0,VE149'] + x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] + x-timer: ['S1527630250.886146,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/1/clone + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:28 GMT'] - fastly-ratelimit-remaining: ['954'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:10 GMT'] + fastly-ratelimit-remaining: ['897'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371229.639351,VS0,VE217'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630250.395279,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:29 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371229.919351,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630251.884906,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/healthcheck + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:29 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371229.132870,VS0,VE429'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630251.068686,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/condition + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:29 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19121-FRA'] - x-timer: ['S1523371230.723736,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630251.260208,VS0,VE370'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:30 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19124-FRA'] - x-timer: ['S1523371230.934268,VS0,VE149'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630252.704811,VS0,VE368'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/director + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:30 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19146-FRA'] - x-timer: ['S1523371230.146452,VS0,VE381'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630252.164600,VS0,VE151'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/cache_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:30 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371231.775200,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630252.391968,VS0,VE360'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/gzip + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:31 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19132-FRA'] - x-timer: ['S1523371231.959062,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] + x-timer: ['S1527630253.830137,VS0,VE362'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:31 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371231.143462,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] + x-timer: ['S1527630253.265276,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/request_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:31 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19143-FRA'] - x-timer: ['S1523371231.326870,VS0,VE380'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630253.455320,VS0,VE360'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:31 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371232.769658,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630254.888930,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/snippet + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,39 +354,63 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:32 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371232.942932,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527630254.088695,VS0,VE111'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/logging/s3 + 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: ['Tue, 29 May 2018 21:44: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-ams4136-AMS'] + x-timer: ['S1527630254.274436,VS0,VE359'] 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/sElL34MDwVdi6ShBTQYLI/version/2/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"sElL34MDwVdi6ShBTQYLI","version":2,"deleted_at":null,"created_at":"2018-04-10T14:40:32Z","updated_at":"2018-04-10T14:40:32Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":2,"deleted_at":null,"created_at":"2018-05-29T21:44:15Z","updated_at":"2018-05-29T21:44:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['182'] + content-length: ['183'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:32 GMT'] - fastly-ratelimit-remaining: ['953'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:15 GMT'] + fastly-ratelimit-remaining: ['896'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371232.127255,VS0,VE228'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630255.712133,VS0,VE494'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -397,25 +421,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:40:32Z","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-04-10T14:40:32Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:15Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:15Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:32 GMT'] - fastly-ratelimit-remaining: ['952'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:15 GMT'] + fastly-ratelimit-remaining: ['895'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371232.412647,VS0,VE444'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630255.280807,VS0,VE408'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -425,26 +449,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"2","updated_at":"2018-04-10T14:40:33Z","deleted_at":null,"created_at":"2018-04-10T14:40:33Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"2","updated_at":"2018-05-29T21:44:16Z","deleted_at":null,"created_at":"2018-05-29T21:44:16Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['411'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:33 GMT'] - fastly-ratelimit-remaining: ['951'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:16 GMT'] + fastly-ratelimit-remaining: ['894'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371233.919390,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630256.768956,VS0,VE395'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -452,103 +476,103 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:40:33Z","updated_at":"2018-04-10T14:40:33Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:44:16Z","updated_at":"2018-05-29T21:44:16Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:33 GMT'] - fastly-ratelimit-remaining: ['950'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:16 GMT'] + fastly-ratelimit-remaining: ['893'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371233.394194,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] + x-timer: ['S1527630256.233573,VS0,VE391'] 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/sElL34MDwVdi6ShBTQYLI/version/2/settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:34 GMT'] - fastly-ratelimit-remaining: ['949'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:17 GMT'] + fastly-ratelimit-remaining: ['892'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371234.910555,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] + x-timer: ['S1527630257.701196,VS0,VE420'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/activate + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:33Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:16Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:35 GMT'] - fastly-ratelimit-remaining: ['948'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:18 GMT'] + fastly-ratelimit-remaining: ['891'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371234.413669,VS0,VE724'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630257.197478,VS0,VE1196'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:35Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":2,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"","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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:18Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"","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-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['3868'] + content-length: ['4005'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:35 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19135-FRA'] - x-timer: ['S1523371235.370143,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527630258.469817,VS0,VE140'] 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 7015912..86b78dd 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_weight_even +++ b/tests/fixtures/cassettes/test_fastly_backend_weight_even @@ -6,105 +6,106 @@ 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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"number":2,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:28Z","comment":""}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['689'] + content-length: ['692'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:35 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371236.637474,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630259.749607,VS0,VE171'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:35Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":2,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"","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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:18Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:35Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"","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-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['3868'] + content-length: ['4005'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:35 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371236.839539,VS0,VE107'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630259.994736,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/2/clone + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:35Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:18Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:36 GMT'] - fastly-ratelimit-remaining: ['947'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:19 GMT'] + fastly-ratelimit-remaining: ['890'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371236.008344,VS0,VE203'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630259.232440,VS0,VE220'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"sElL34MDwVdi6ShBTQYLI","created_at":"2018-04-10T14:40:32Z","comment":"","updated_at":"2018-04-10T14:40:32Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:15Z","comment":"","updated_at":"2018-05-29T21:44:15Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['184'] + content-length: ['185'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:36 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371236.275616,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527630260.529416,VS0,VE364'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/healthcheck + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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: ['Tue, 10 Apr 2018 14:40:36 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19122-FRA'] - x-timer: ['S1523371236.463687,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630260.965186,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/condition + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -138,45 +139,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:37 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19141-FRA'] - x-timer: ['S1523371237.040379,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] + x-timer: ['S1527630260.449725,VS0,VE366'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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-04-10T14:40:32Z","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":"sElL34MDwVdi6ShBTQYLI","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-04-10T14:40:32Z","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-29T21:44:15Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:15Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['717'] + content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:37 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371237.216889,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630261.889472,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/director + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +187,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:38 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19136-FRA'] - x-timer: ['S1523371238.875461,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527630261.087952,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/cache_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:38 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19144-FRA'] - x-timer: ['S1523371238.384017,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630261.278546,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/gzip + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -234,46 +235,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:39 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19130-FRA'] - x-timer: ['S1523371239.948066,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527630261.477636,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"sElL34MDwVdi6ShBTQYLI","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T14:40:33Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-04-10T14:40:33Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:16Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:16Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['413'] + content-length: ['414'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:39 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371239.140337,VS0,VE388'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630262.676764,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/request_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -283,46 +284,70 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:39 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19136-FRA'] - x-timer: ['S1523371240.755406,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630262.867564,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","cache_condition":"","created_at":"2018-04-10T14:40:33Z","content_type":"","request_condition":"","updated_at":"2018-04-10T14:40:33Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:44:16Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:44:16Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['279'] + content-length: ['280'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:44: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-ams4438-AMS'] + x-timer: ['S1527630262.061565,VS0,VE118'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/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: ['Tue, 10 Apr 2018 14:40:40 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19142-FRA'] - x-timer: ['S1523371240.927050,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630262.254397,VS0,VE371'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/snippet + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -332,21 +357,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:40 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19130-FRA'] - x-timer: ['S1523371240.098354,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630263.698092,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -355,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:40 GMT'] - fastly-ratelimit-remaining: ['946'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:23 GMT'] + fastly-ratelimit-remaining: ['889'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371241.596666,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630263.889242,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/backend/localhost + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:40 GMT'] - fastly-ratelimit-remaining: ['945'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:23 GMT'] + fastly-ratelimit-remaining: ['888'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371241.823832,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630263.374591,VS0,VE428'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:41 GMT'] - fastly-ratelimit-remaining: ['944'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:24 GMT'] + fastly-ratelimit-remaining: ['887'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371241.049570,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527630264.876706,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,41 +455,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:41 GMT'] - fastly-ratelimit-remaining: ['943'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:24 GMT'] + fastly-ratelimit-remaining: ['886'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371241.273323,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630264.362992,VS0,VE440'] 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/sElL34MDwVdi6ShBTQYLI/version/3/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"sElL34MDwVdi6ShBTQYLI","version":3,"deleted_at":null,"created_at":"2018-04-10T14:40:41Z","updated_at":"2018-04-10T14:40:41Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":3,"deleted_at":null,"created_at":"2018-05-29T21:44:24Z","updated_at":"2018-05-29T21:44:24Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['182'] + content-length: ['183'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:41 GMT'] - fastly-ratelimit-remaining: ['942'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:25 GMT'] + fastly-ratelimit-remaining: ['885'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1523371241.490389,VS0,VE186'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630265.882720,VS0,VE187'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -475,25 +500,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","client_cert":null,"updated_at":"2018-04-10T14:40:42Z","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-04-10T14:40:42Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend1.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend1.example.net","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","client_cert":null,"updated_at":"2018-05-29T21:44:25Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:25Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['756'] + content-length: ['757'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:42 GMT'] - fastly-ratelimit-remaining: ['941'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:25 GMT'] + fastly-ratelimit-remaining: ['884'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371242.741610,VS0,VE448'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630265.143592,VS0,VE444'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -504,104 +529,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","client_cert":null,"updated_at":"2018-04-10T14:40:42Z","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-04-10T14:40:42Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend2.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend2.example.net","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","client_cert":null,"updated_at":"2018-05-29T21:44:26Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:26Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['756'] + content-length: ['757'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:42 GMT'] - fastly-ratelimit-remaining: ['940'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:26 GMT'] + fastly-ratelimit-remaining: ['883'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1523371242.254838,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] + x-timer: ['S1527630266.710153,VS0,VE463'] 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/sElL34MDwVdi6ShBTQYLI/version/3/settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:42 GMT'] - fastly-ratelimit-remaining: ['939'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:26 GMT'] + fastly-ratelimit-remaining: ['882'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523371242.470299,VS0,VE443'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630266.249256,VS0,VE456'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/activate + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:42Z","deployed":false,"msg":"Warning: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:26Z","deployed":false,"msg":"Warning: 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-----####-----------------------------\nWarning: + 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: - Name or service not known\nat: (input Line 32 Pos 6)\n .host = \"my-backend2.example.net\";\n-----####-----------------------------\nWarning: + Name or service not known\nat: (input Line 32 Pos 6)\n .host = \"my-backend2.example.net\";\n-----####-----------------------------\n\nWarning: Unused backend `F_my_backend2_example_net`\nat: (input Line 28 Pos 9)\nbackend F_my_backend2_example_net {\n--------#########################--"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['838'] + content-length: ['843'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:44 GMT'] - fastly-ratelimit-remaining: ['938'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:27 GMT'] + fastly-ratelimit-remaining: ['881'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371243.975178,VS0,VE1395'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630267.814370,VS0,VE1051'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":3,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:44Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:36Z","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:44Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:36Z","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.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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4605'] + content-length: ['4743'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:44 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371244.432440,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630268.010742,VS0,VE258'] 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 8d16f3a..fd64e00 100644 --- a/tests/fixtures/cassettes/test_fastly_domain_comment_not_required +++ b/tests/fixtures/cassettes/test_fastly_domain_comment_not_required @@ -6,102 +6,102 @@ 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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"number":3,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:44Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:36Z","comment":""}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['920'] + content-length: ['924'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:44 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371245.786790,VS0,VE144'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630269.524307,VS0,VE243'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":3,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:44Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:36Z","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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":3,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:44Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:36Z","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.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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4605'] + content-length: ['4743'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:45 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19141-FRA'] - x-timer: ['S1523371245.991520,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] + x-timer: ['S1527630269.841495,VS0,VE184'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/3/clone + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:45 GMT'] - fastly-ratelimit-remaining: ['937'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:29 GMT'] + fastly-ratelimit-remaining: ['880'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1523371245.163870,VS0,VE488'] + x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] + x-timer: ['S1527630269.101625,VS0,VE491'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/domain response: - body: {string: !!python/unicode '[{"version":4,"name":"cdn.example8000.com","deleted_at":null,"service_id":"sElL34MDwVdi6ShBTQYLI","created_at":"2018-04-10T14:40:41Z","comment":"","updated_at":"2018-04-10T14:40:41Z"}]'} + body: {string: !!python/unicode '[{"version":4,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:24Z","comment":"","updated_at":"2018-05-29T21:44:24Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['184'] + content-length: ['185'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:45 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19121-FRA'] - x-timer: ['S1523371246.817520,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630270.669012,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/healthcheck + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -111,21 +111,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:46 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371246.001373,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630270.857226,VS0,VE363'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/condition + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/condition response: body: {string: !!python/unicode '[]'} headers: @@ -135,45 +135,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:46 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371246.181690,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630270.364484,VS0,VE369'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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-04-10T14:40:42Z","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":"sElL34MDwVdi6ShBTQYLI","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-04-10T14:40:42Z","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-04-10T14:40:42Z","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":"sElL34MDwVdi6ShBTQYLI","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-04-10T14:40:42Z","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-29T21:44:25Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend1.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:25Z","comment":""},{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend2.example.net","updated_at":"2018-05-29T21:44:26Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend2.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:26Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1515'] + content-length: ['1517'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:46 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19126-FRA'] - x-timer: ['S1523371247.627569,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] + x-timer: ['S1527630271.808014,VS0,VE133'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/director + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/director response: body: {string: !!python/unicode '[]'} headers: @@ -183,21 +183,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:47 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371247.817289,VS0,VE380'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527630271.024501,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/cache_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -207,21 +207,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:47 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371247.278627,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630271.213511,VS0,VE369'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/gzip + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -231,21 +231,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:47 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371247.454529,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630272.696451,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/header response: body: {string: !!python/unicode '[]'} headers: @@ -255,21 +255,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:48 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19123-FRA'] - x-timer: ['S1523371248.670110,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] + x-timer: ['S1527630272.888729,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/request_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -279,21 +279,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:48 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19141-FRA'] - x-timer: ['S1523371248.130091,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] + x-timer: ['S1527630272.084702,VS0,VE373'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -303,21 +303,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:48 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371249.741897,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630273.622126,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/snippet + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -327,21 +327,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:49 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371249.917872,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630273.851325,VS0,VE119'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/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: ['Tue, 29 May 2018 21:44: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-ams4430-AMS'] + x-timer: ['S1527630273.045384,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -350,23 +374,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:49 GMT'] - fastly-ratelimit-remaining: ['936'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:33 GMT'] + fastly-ratelimit-remaining: ['879'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371249.126103,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630273.240820,VS0,VE419'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/backend/my-backend1.example.net + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/backend/my-backend1.example.net response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -375,23 +399,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:49 GMT'] - fastly-ratelimit-remaining: ['935'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:34 GMT'] + fastly-ratelimit-remaining: ['878'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371250.785450,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] + x-timer: ['S1527630274.746041,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/backend/my-backend2.example.net + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/backend/my-backend2.example.net response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -400,41 +424,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:50 GMT'] - fastly-ratelimit-remaining: ['934'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:34 GMT'] + fastly-ratelimit-remaining: ['877'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371250.011827,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630274.233439,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/sElL34MDwVdi6ShBTQYLI/version/4/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"sElL34MDwVdi6ShBTQYLI","version":4,"deleted_at":null,"created_at":"2018-04-10T14:40:50Z","updated_at":"2018-04-10T14:40:50Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":4,"deleted_at":null,"created_at":"2018-05-29T21:44:34Z","updated_at":"2018-05-29T21:44:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['182'] + content-length: ['183'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:50 GMT'] - fastly-ratelimit-remaining: ['933'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:34 GMT'] + fastly-ratelimit-remaining: ['876'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1523371250.270890,VS0,VE196'] + x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] + x-timer: ['S1527630274.469902,VS0,VE486'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -445,25 +469,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:40:50Z","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-04-10T14:40:50Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:35Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:35Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:50 GMT'] - fastly-ratelimit-remaining: ['932'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:35 GMT'] + fastly-ratelimit-remaining: ['875'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371251.526837,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630275.048654,VS0,VE417'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -473,26 +497,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"4","updated_at":"2018-04-10T14:40:51Z","deleted_at":null,"created_at":"2018-04-10T14:40:51Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"4","updated_at":"2018-05-29T21:44:35Z","deleted_at":null,"created_at":"2018-05-29T21:44:35Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['411'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:51 GMT'] - fastly-ratelimit-remaining: ['931'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:35 GMT'] + fastly-ratelimit-remaining: ['874'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1523371251.023552,VS0,VE437'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630276.596680,VS0,VE392'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -500,103 +524,103 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:40:52Z","updated_at":"2018-04-10T14:40:52Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:44:36Z","updated_at":"2018-05-29T21:44:36Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:52 GMT'] - fastly-ratelimit-remaining: ['930'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:36 GMT'] + fastly-ratelimit-remaining: ['873'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371252.663387,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630276.102471,VS0,VE408'] 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/sElL34MDwVdi6ShBTQYLI/version/4/settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:52 GMT'] - fastly-ratelimit-remaining: ['929'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:36 GMT'] + fastly-ratelimit-remaining: ['872'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1523371252.159881,VS0,VE173'] + x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] + x-timer: ['S1527630277.586033,VS0,VE382'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/activate + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:36Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:53 GMT'] - fastly-ratelimit-remaining: ['928'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:37 GMT'] + fastly-ratelimit-remaining: ['871'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371252.399678,VS0,VE639'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630277.046996,VS0,VE843'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":4,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:52Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"","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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":4,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:52Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"","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-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['4330'] + content-length: ['4469'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:53 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19133-FRA'] - x-timer: ['S1523371253.127598,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630278.965753,VS0,VE150'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_action_not_required b/tests/fixtures/cassettes/test_fastly_header_action_not_required index 15b1f41..df93e76 100644 --- a/tests/fixtures/cassettes/test_fastly_header_action_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_action_not_required @@ -6,106 +6,106 @@ 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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"number":4,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:52Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:45Z","comment":""}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1151'] + content-length: ['1156'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:53 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19126-FRA'] - x-timer: ['S1523371253.422393,VS0,VE249'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630278.256362,VS0,VE138'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":4,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:52Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"","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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":4,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:40:52Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"","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-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['4330'] + content-length: ['4469'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:54 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371254.736135,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630278.471020,VS0,VE107'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/4/clone + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:54 GMT'] - fastly-ratelimit-remaining: ['927'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:39 GMT'] + fastly-ratelimit-remaining: ['870'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371254.254127,VS0,VE471'] + x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] + x-timer: ['S1527630279.655793,VS0,VE449'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/domain response: - body: {string: !!python/unicode '[{"version":5,"name":"cdn.example8000.com","deleted_at":null,"service_id":"sElL34MDwVdi6ShBTQYLI","created_at":"2018-04-10T14:40:50Z","comment":"","updated_at":"2018-04-10T14:40:50Z"}]'} + body: {string: !!python/unicode '[{"version":5,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:34Z","comment":"","updated_at":"2018-05-29T21:44:34Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['184'] + content-length: ['185'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:55 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19149-FRA'] - x-timer: ['S1523371255.799237,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] + x-timer: ['S1527630279.178050,VS0,VE377'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/healthcheck + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:55 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371255.421209,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] + x-timer: ['S1527630280.685189,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/condition + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,45 +139,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:55 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19122-FRA'] - x-timer: ['S1523371256.596381,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630280.873568,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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-04-10T14:40:50Z","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":"sElL34MDwVdi6ShBTQYLI","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-04-10T14:40:50Z","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-29T21:44:35Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":5,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:35Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['717'] + content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:56 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19121-FRA'] - x-timer: ['S1523371256.062682,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630280.069992,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/director + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +187,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:56 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371256.249276,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] + x-timer: ['S1527630280.262992,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/cache_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:56 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19150-FRA'] - x-timer: ['S1523371256.428609,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630281.501193,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/gzip + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,46 +235,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:56 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19127-FRA'] - x-timer: ['S1523371257.611493,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] + x-timer: ['S1527630281.693407,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"sElL34MDwVdi6ShBTQYLI","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T14:40:51Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"5","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-04-10T14:40:51Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:35Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"5","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:35Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['413'] + content-length: ['414'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:56 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19141-FRA'] - x-timer: ['S1523371257.796705,VS0,VE127'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527630281.881747,VS0,VE377'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/request_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,46 +284,70 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:57 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19151-FRA'] - x-timer: ['S1523371257.987784,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] + x-timer: ['S1527630281.334422,VS0,VE377'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","cache_condition":"","created_at":"2018-04-10T14:40:52Z","content_type":"","request_condition":"","updated_at":"2018-04-10T14:40:52Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:44:36Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:44:36Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['280'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:44:41 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630282.787976,VS0,VE159'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/snippet + response: + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['279'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:57 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19127-FRA'] - x-timer: ['S1523371257.168424,VS0,VE381'] + x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] + x-timer: ['S1527630282.018399,VS0,VE364'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/snippet + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +357,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:58 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19122-FRA'] - x-timer: ['S1523371258.721219,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] + x-timer: ['S1527630282.456316,VS0,VE367'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -356,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:58 GMT'] - fastly-ratelimit-remaining: ['926'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:43 GMT'] + fastly-ratelimit-remaining: ['869'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1523371258.208809,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630283.897086,VS0,VE404'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/backend/localhost + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -381,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:58 GMT'] - fastly-ratelimit-remaining: ['925'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:43 GMT'] + fastly-ratelimit-remaining: ['868'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371258.423881,VS0,VE168'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527630283.377464,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/header/Set%20Location%20header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -406,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:59 GMT'] - fastly-ratelimit-remaining: ['924'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:44 GMT'] + fastly-ratelimit-remaining: ['867'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1523371259.656783,VS0,VE425'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630284.864130,VS0,VE488'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -431,41 +455,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:59 GMT'] - fastly-ratelimit-remaining: ['923'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:44 GMT'] + fastly-ratelimit-remaining: ['866'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1523371259.185824,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630284.426664,VS0,VE410'] 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/sElL34MDwVdi6ShBTQYLI/version/5/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"sElL34MDwVdi6ShBTQYLI","version":5,"deleted_at":null,"created_at":"2018-04-10T14:40:59Z","updated_at":"2018-04-10T14:40:59Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":5,"deleted_at":null,"created_at":"2018-05-29T21:44:45Z","updated_at":"2018-05-29T21:44:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['182'] + content-length: ['183'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:59 GMT'] - fastly-ratelimit-remaining: ['922'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:45 GMT'] + fastly-ratelimit-remaining: ['865'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371259.406964,VS0,VE190'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630285.912268,VS0,VE439'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -476,25 +500,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":5,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:40: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-04-10T14:40:59Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":5,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:45Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:45Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:40:59 GMT'] - fastly-ratelimit-remaining: ['921'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:45 GMT'] + fastly-ratelimit-remaining: ['864'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] - x-timer: ['S1523371260.662500,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] + x-timer: ['S1527630285.424388,VS0,VE425'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -504,26 +528,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"5","updated_at":"2018-04-10T14:41:00Z","deleted_at":null,"created_at":"2018-04-10T14:41:00Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"5","updated_at":"2018-05-29T21:44:46Z","deleted_at":null,"created_at":"2018-05-29T21:44:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['412'] + content-length: ['413'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:00 GMT'] - fastly-ratelimit-remaining: ['920'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:46 GMT'] + fastly-ratelimit-remaining: ['863'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371260.887547,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630286.925069,VS0,VE438'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -531,103 +555,103 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"5","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:41:00Z","updated_at":"2018-04-10T14:41:00Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"5","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:44:46Z","updated_at":"2018-05-29T21:44:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:00 GMT'] - fastly-ratelimit-remaining: ['919'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:46 GMT'] + fastly-ratelimit-remaining: ['862'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371260.391578,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527630286.442406,VS0,VE393'] 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/sElL34MDwVdi6ShBTQYLI/version/5/settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":5,"general.default_host":"","general.default_pci":0,"service_id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":5,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:01 GMT'] - fastly-ratelimit-remaining: ['918'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:47 GMT'] + fastly-ratelimit-remaining: ['861'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371261.604493,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] + x-timer: ['S1527630287.906469,VS0,VE433'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/activate + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":5,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:00Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:46Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:01 GMT'] - fastly-ratelimit-remaining: ['917'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:48 GMT'] + fastly-ratelimit-remaining: ['860'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371261.107739,VS0,VE815'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630287.415930,VS0,VE896'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['4563'] + content-length: ['4703'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:02 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19129-FRA'] - x-timer: ['S1523371262.983825,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630288.387799,VS0,VE140'] 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 fb7ff85..0f3dad3 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,76 +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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:54Z","comment":""}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1382'] + content-length: ['1388'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:02 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19133-FRA'] - x-timer: ['S1523371262.263815,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630289.689254,VS0,VE393'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['4563'] + content-length: ['4703'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:02 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371263.761397,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630289.152737,VS0,VE405'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['4563'] + content-length: ['4703'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:03 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19132-FRA'] - x-timer: ['S1523371263.948052,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] + x-timer: ['S1527630290.633465,VS0,VE293'] 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 bdbf007..39d65bf 100644 --- a/tests/fixtures/cassettes/test_fastly_header_priority_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_priority_not_required @@ -6,76 +6,77 @@ 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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:54Z","comment":""}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1382'] + content-length: ['1388'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:03 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371263.177470,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527630290.061756,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['4563'] + content-length: ['4703'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:03 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371263.375737,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] + x-timer: ['S1527630290.273524,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['4563'] + content-length: ['4703'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:03 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19142-FRA'] - x-timer: ['S1523371264.546765,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630290.460469,VS0,VE129'] 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 6b183ed..ea88c32 100644 --- a/tests/fixtures/cassettes/test_service_does_exist +++ b/tests/fixtures/cassettes/test_service_does_exist @@ -6,106 +6,106 @@ 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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40:54Z","comment":""}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1382'] + content-length: ['1388'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:03 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371264.825638,VS0,VE154'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630291.766568,VS0,VE247'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":5,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:01Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:40: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":"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-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['4563'] + content-length: ['4703'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:04 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371264.041728,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] + x-timer: ['S1527630291.088706,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/5/clone + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:04 GMT'] - fastly-ratelimit-remaining: ['916'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:51 GMT'] + fastly-ratelimit-remaining: ['859'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371264.225059,VS0,VE209'] + x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] + x-timer: ['S1527630291.284902,VS0,VE497'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/domain response: - body: {string: !!python/unicode '[{"version":6,"name":"cdn.example8000.com","deleted_at":null,"service_id":"sElL34MDwVdi6ShBTQYLI","created_at":"2018-04-10T14:40:59Z","comment":"","updated_at":"2018-04-10T14:40:59Z"}]'} + body: {string: !!python/unicode '[{"version":6,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:45Z","comment":"","updated_at":"2018-05-29T21:44:45Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['184'] + content-length: ['185'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:04 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19121-FRA'] - x-timer: ['S1523371264.496937,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527630292.858796,VS0,VE168'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/healthcheck + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:04 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19143-FRA'] - x-timer: ['S1523371265.679577,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527630292.102305,VS0,VE428'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/condition + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,45 +139,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:05 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19146-FRA'] - x-timer: ['S1523371265.859004,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630293.605906,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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-04-10T14:40: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":"sElL34MDwVdi6ShBTQYLI","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-04-10T14:40:59Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:44:45Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":6,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:45Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['717'] + content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:05 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19132-FRA'] - x-timer: ['S1523371265.454770,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527630293.797654,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/director + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +187,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:06 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19151-FRA'] - x-timer: ['S1523371266.075613,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630293.286785,VS0,VE376'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/cache_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:06 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19143-FRA'] - x-timer: ['S1523371266.254472,VS0,VE379'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630294.738183,VS0,VE371'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/gzip + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,46 +235,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:06 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19120-FRA'] - x-timer: ['S1523371267.695726,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] + x-timer: ['S1527630294.184390,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"sElL34MDwVdi6ShBTQYLI","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T14:41:00Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"6","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-04-10T14:41:00Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:46Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"6","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:46Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['414'] + content-length: ['415'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:07 GMT'] + date: ['Tue, 29 May 2018 21:44: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: ['S1523371267.880569,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630294.372906,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/request_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,46 +284,70 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:07 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19146-FRA'] - x-timer: ['S1523371267.068332,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630295.959726,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","cache_condition":"","created_at":"2018-04-10T14:41:00Z","content_type":"","request_condition":"","updated_at":"2018-04-10T14:41:00Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:44:46Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:44:46Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['280'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:44: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-ams4424-AMS'] + x-timer: ['S1527630295.148258,VS0,VE367'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/snippet + response: + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['279'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:07 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19145-FRA'] - x-timer: ['S1523371267.245667,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] + x-timer: ['S1527630296.591256,VS0,VE365'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/snippet + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +357,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:07 GMT'] + date: ['Tue, 29 May 2018 21:44: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-fra19150-FRA'] - x-timer: ['S1523371267.426265,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630296.028543,VS0,VE406'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -356,23 +380,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:08 GMT'] - fastly-ratelimit-remaining: ['915'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:56 GMT'] + fastly-ratelimit-remaining: ['858'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] - x-timer: ['S1523371268.607560,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] + x-timer: ['S1527630297.509980,VS0,VE420'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/backend/localhost + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -381,23 +405,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:08 GMT'] - fastly-ratelimit-remaining: ['914'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:57 GMT'] + fastly-ratelimit-remaining: ['857'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] - x-timer: ['S1523371268.123589,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630297.008251,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/header/Set%20Location%20header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -406,23 +430,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:08 GMT'] - fastly-ratelimit-remaining: ['913'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:57 GMT'] + fastly-ratelimit-remaining: ['856'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19121-FRA'] - x-timer: ['S1523371268.343260,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630297.499700,VS0,VE418'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -431,41 +455,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:09 GMT'] - fastly-ratelimit-remaining: ['912'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:58 GMT'] + fastly-ratelimit-remaining: ['855'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371269.000277,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630298.008061,VS0,VE163'] 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/sElL34MDwVdi6ShBTQYLI/version/6/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"sElL34MDwVdi6ShBTQYLI","version":6,"deleted_at":null,"created_at":"2018-04-10T14:41:09Z","updated_at":"2018-04-10T14:41:09Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":6,"deleted_at":null,"created_at":"2018-05-29T21:44:58Z","updated_at":"2018-05-29T21:44:58Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['187'] + content-length: ['188'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:09 GMT'] - fastly-ratelimit-remaining: ['911'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:58 GMT'] + fastly-ratelimit-remaining: ['854'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523371269.226703,VS0,VE456'] + x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] + x-timer: ['S1527630298.245300,VS0,VE604'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -476,25 +500,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":6,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:41: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-04-10T14:41:10Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":6,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:59Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:59Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:10 GMT'] - fastly-ratelimit-remaining: ['910'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:59 GMT'] + fastly-ratelimit-remaining: ['853'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523371270.843746,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630299.925277,VS0,VE412'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -504,26 +528,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"6","updated_at":"2018-04-10T14:41:10Z","deleted_at":null,"created_at":"2018-04-10T14:41:10Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"6","updated_at":"2018-05-29T21:44:59Z","deleted_at":null,"created_at":"2018-05-29T21:44:59Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['411'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:10 GMT'] - fastly-ratelimit-remaining: ['909'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:44:59 GMT'] + fastly-ratelimit-remaining: ['852'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371270.362932,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] + x-timer: ['S1527630299.413342,VS0,VE440'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -531,103 +555,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"6","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:41:11Z","updated_at":"2018-04-10T14:41:11Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"6","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:00Z","updated_at":"2018-05-29T21:45:00Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:11 GMT'] - fastly-ratelimit-remaining: ['908'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:00 GMT'] + fastly-ratelimit-remaining: ['851'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371271.886673,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630300.928115,VS0,VE393'] 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/sElL34MDwVdi6ShBTQYLI/version/6/settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":6,"general.default_host":"","general.default_pci":0,"service_id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":6,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:11 GMT'] - fastly-ratelimit-remaining: ['907'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:00 GMT'] + fastly-ratelimit-remaining: ['850'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523371271.402411,VS0,VE138'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630300.398476,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/activate + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":6,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:11Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:00Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:12 GMT'] - fastly-ratelimit-remaining: ['906'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:01 GMT'] + fastly-ratelimit-remaining: ['849'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371272.602715,VS0,VE592'] + x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] + x-timer: ['S1527630301.899818,VS0,VE990'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":6,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:12Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:04Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":6,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:12Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:04Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['4802'] + content-length: ['4943'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:12 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371272.258332,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] + x-timer: ['S1527630302.965622,VS0,VE146'] status: {code: 200, message: OK} - request: body: null @@ -636,106 +661,106 @@ 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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"number":6,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:12Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:04Z","comment":""}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1613'] + content-length: ['1620'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:12 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19132-FRA'] - x-timer: ['S1523371273.755686,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630302.186905,VS0,VE455'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":6,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:12Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:04Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":6,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:12Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:04Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['4802'] + content-length: ['4943'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:13 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19123-FRA'] - x-timer: ['S1523371273.962752,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630303.716564,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/6/clone + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:13 GMT'] - fastly-ratelimit-remaining: ['905'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:03 GMT'] + fastly-ratelimit-remaining: ['848'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] - x-timer: ['S1523371273.147798,VS0,VE170'] + x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] + x-timer: ['S1527630303.913022,VS0,VE449'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/domain response: - body: {string: !!python/unicode '[{"version":7,"name":"cdn.example8000.com","deleted_at":null,"service_id":"sElL34MDwVdi6ShBTQYLI","created_at":"2018-04-10T14:41:09Z","comment":"test1","updated_at":"2018-04-10T14:41:09Z"}]'} + body: {string: !!python/unicode '[{"version":7,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:58Z","comment":"test1","updated_at":"2018-05-29T21:44:58Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['189'] + content-length: ['190'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:13 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19140-FRA'] - x-timer: ['S1523371273.383468,VS0,VE381'] + x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] + x-timer: ['S1527630303.441208,VS0,VE371'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/healthcheck + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -745,21 +770,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:14 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371274.018595,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630304.888961,VS0,VE137'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/condition + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/condition response: body: {string: !!python/unicode '[]'} headers: @@ -769,45 +794,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:14 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371274.204438,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630304.100754,VS0,VE136'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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-04-10T14:41:10Z","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":"sElL34MDwVdi6ShBTQYLI","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-04-10T14:41:10Z","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-29T21:44:59Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":7,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:59Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['717'] + content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:14 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371274.388420,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630304.312064,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/director + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/director response: body: {string: !!python/unicode '[]'} headers: @@ -817,21 +842,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:15 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19128-FRA'] - x-timer: ['S1523371275.885942,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630305.512350,VS0,VE371'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/cache_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -841,21 +866,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:15 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19136-FRA'] - x-timer: ['S1523371275.070629,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] + x-timer: ['S1527630305.960135,VS0,VE363'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/gzip + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -865,46 +890,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:15 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19149-FRA'] - x-timer: ['S1523371276.688980,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527630305.398766,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"sElL34MDwVdi6ShBTQYLI","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T14:41:10Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"7","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-04-10T14:41:10Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:59Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"7","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:59Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['413'] + content-length: ['414'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:15 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19126-FRA'] - x-timer: ['S1523371276.871771,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630306.587894,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/request_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -914,46 +939,70 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:16 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19141-FRA'] - x-timer: ['S1523371276.056188,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630306.779662,VS0,VE364'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","cache_condition":"","created_at":"2018-04-10T14:41:11Z","content_type":"","request_condition":"","updated_at":"2018-04-10T14:41:11Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:45:00Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:45:00Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['279'] + content-length: ['280'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:45:06 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527630306.217466,VS0,VE121'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/snippet + 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: ['Tue, 10 Apr 2018 14:41:16 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19137-FRA'] - x-timer: ['S1523371277.520454,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630306.414628,VS0,VE401'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/snippet + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -963,21 +1012,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:17 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371277.700181,VS0,VE379'] + x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] + x-timer: ['S1527630307.892087,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -986,23 +1035,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:17 GMT'] - fastly-ratelimit-remaining: ['904'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:07 GMT'] + fastly-ratelimit-remaining: ['847'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523371277.154373,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630307.084457,VS0,VE420'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/backend/localhost + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1011,23 +1060,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:17 GMT'] - fastly-ratelimit-remaining: ['903'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:08 GMT'] + fastly-ratelimit-remaining: ['846'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1523371277.381618,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630308.580032,VS0,VE431'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/header/Set%20Location%20header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1036,23 +1085,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:18 GMT'] - fastly-ratelimit-remaining: ['902'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:08 GMT'] + fastly-ratelimit-remaining: ['845'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1523371278.606146,VS0,VE425'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630308.087728,VS0,VE415'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1061,41 +1110,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:18 GMT'] - fastly-ratelimit-remaining: ['901'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:08 GMT'] + fastly-ratelimit-remaining: ['844'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371278.096499,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] + x-timer: ['S1527630309.576665,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/sElL34MDwVdi6ShBTQYLI/version/7/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"sElL34MDwVdi6ShBTQYLI","version":7,"deleted_at":null,"created_at":"2018-04-10T14:41:18Z","updated_at":"2018-04-10T14:41:18Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":7,"deleted_at":null,"created_at":"2018-05-29T21:45:09Z","updated_at":"2018-05-29T21:45:09Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['187'] + content-length: ['188'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:18 GMT'] - fastly-ratelimit-remaining: ['900'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:09 GMT'] + fastly-ratelimit-remaining: ['843'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] - x-timer: ['S1523371278.319930,VS0,VE484'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630309.832178,VS0,VE443'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -1106,25 +1155,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":7,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:41: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-04-10T14:41:18Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":7,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:45:09Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:45:09Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:19 GMT'] - fastly-ratelimit-remaining: ['899'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:09 GMT'] + fastly-ratelimit-remaining: ['842'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] - x-timer: ['S1523371279.887510,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630309.351302,VS0,VE407'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -1134,26 +1183,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"7","updated_at":"2018-04-10T14:41:19Z","deleted_at":null,"created_at":"2018-04-10T14:41:19Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"7","updated_at":"2018-05-29T21:45:10Z","deleted_at":null,"created_at":"2018-05-29T21:45:10Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['411'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:19 GMT'] - fastly-ratelimit-remaining: ['898'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:10 GMT'] + fastly-ratelimit-remaining: ['841'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1523371279.110124,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630310.892824,VS0,VE428'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "301", "request_condition": "", "name": "Set @@ -1161,103 +1210,103 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"7","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:41:19Z","updated_at":"2018-04-10T14:41:19Z"}'} + 301 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"7","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:10Z","updated_at":"2018-05-29T21:45:10Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:19 GMT'] - fastly-ratelimit-remaining: ['897'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:10 GMT'] + fastly-ratelimit-remaining: ['840'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1523371279.317383,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] + x-timer: ['S1527630310.403747,VS0,VE407'] 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/sElL34MDwVdi6ShBTQYLI/version/7/settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":7,"general.default_host":"","general.default_pci":0,"service_id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":7,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:19 GMT'] - fastly-ratelimit-remaining: ['896'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:11 GMT'] + fastly-ratelimit-remaining: ['839'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371280.524996,VS0,VE437'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630311.888176,VS0,VE420'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/activate + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":7,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:19Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:10Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:20 GMT'] - fastly-ratelimit-remaining: ['895'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:12 GMT'] + fastly-ratelimit-remaining: ['838'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371280.028651,VS0,VE836'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630311.385083,VS0,VE989'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":7,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:20Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:12Z","active":true,"number":7,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":7,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:20Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:12Z","active":true,"number":7,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['5033'] + content-length: ['5175'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:21 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371281.926566,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] + x-timer: ['S1527630312.448308,VS0,VE139'] 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 3d194f6..2a76f49 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,224 +6,180 @@ 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":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:10Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:18Z","deployed":false},{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:19Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:27Z","deployed":false}],"created_at":"2018-04-10T15:33:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T15:33:10Z","id":"3h4ENeSDyBM1eOum86kriA"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['927'] + content-length: ['694'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:06 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19122-FRA'] - x-timer: ['S1523374686.036378,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] + x-timer: ['S1527631085.452355,VS0,VE367'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/details + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/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":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:10Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:18Z","deployed":false},{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:19Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:27Z","deployed":false}],"created_at":"2018-04-10T15:33:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T15:33:10Z","id":"3h4ENeSDyBM1eOum86kriA","version":{"testing":false,"number":3,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"updated_at":"2018-04-10T15:33:27Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T15:33: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":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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: ['2543'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38: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: ['S1523374687.509971,VS0,VE371'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/3/clone - response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:19Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:27Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:07 GMT'] - fastly-ratelimit-remaining: ['973'] - fastly-ratelimit-reset: ['1523376000'] - status: [200 OK] - vary: [Accept-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: ['S1523374687.946822,VS0,VE473'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/domain - response: - body: {string: !!python/unicode '[{"version":4,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3h4ENeSDyBM1eOum86kriA","created_at":"2018-04-10T15:33:25Z","comment":"test1","updated_at":"2018-04-10T15:33:25Z"}]'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['190'] + content-length: ['2376'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:07 GMT'] + date: ['Tue, 29 May 2018 21:58: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: ['S1523374688.548498,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527631086.980795,VS0,VE397'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/healthcheck + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['2376'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:07 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19150-FRA'] - x-timer: ['S1523374688.729274,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] + x-timer: ['S1527631087.501071,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/condition + uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['694'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:08 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19125-FRA'] - x-timer: ['S1523374688.913600,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] + x-timer: ['S1527631087.686355,VS0,VE375'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/backend + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details 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-04-10T15:33:26Z","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":"3h4ENeSDyBM1eOum86kriA","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-04-10T15:33:26Z","comment":""}]'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['718'] + content-length: ['2376'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:08 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19122-FRA'] - x-timer: ['S1523374688.092888,VS0,VE385'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527631087.133261,VS0,VE156'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/director + method: PUT + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/clone response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:09 GMT'] + date: ['Tue, 29 May 2018 21:58:07 GMT'] + fastly-ratelimit-remaining: ['672'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1523374689.636724,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527631087.361078,VS0,VE456'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/cache_settings + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/domain response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","created_at":"2018-05-29T21:45:57Z","comment":"test1","updated_at":"2018-05-29T21:45:57Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['190'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:09 GMT'] + date: ['Tue, 29 May 2018 21:58:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1523374689.075186,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527631088.890287,VS0,VE372'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/gzip + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -233,46 +189,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38: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-fra19137-FRA'] - x-timer: ['S1523374690.545725,VS0,VE402'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/header - response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3h4ENeSDyBM1eOum86kriA","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T15:33:26Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-04-10T15:33:26Z","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: ['Tue, 10 Apr 2018 15:38:10 GMT'] + date: ['Tue, 29 May 2018 21:58:08 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523374690.055560,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527631088.333439,VS0,VE370'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/request_settings + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -282,430 +213,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38: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-fra19139-FRA'] - x-timer: ['S1523374690.234766,VS0,VE496'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/response_object - response: - body: {string: !!python/unicode '[{"response":"Ok","version":"4","status":"301","name":"Set - 301 status code","content":"","deleted_at":null,"service_id":"3h4ENeSDyBM1eOum86kriA","cache_condition":"","created_at":"2018-04-10T15:33:27Z","content_type":"","request_condition":"","updated_at":"2018-04-10T15:33:27Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38: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-fra19144-FRA'] - x-timer: ['S1523374691.885102,VS0,VE385'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/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: ['Tue, 10 Apr 2018 15:38: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-fra19124-FRA'] - x-timer: ['S1523374692.509122,VS0,VE116'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/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: ['Tue, 10 Apr 2018 15:38:12 GMT'] - fastly-ratelimit-remaining: ['972'] - fastly-ratelimit-reset: ['1523376000'] - status: [200 OK] - vary: [Accept-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: ['S1523374692.688840,VS0,VE449'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/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: ['Tue, 10 Apr 2018 15:38:12 GMT'] - fastly-ratelimit-remaining: ['971'] - fastly-ratelimit-reset: ['1523376000'] - status: [200 OK] - vary: [Accept-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: ['S1523374692.349448,VS0,VE460'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/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: ['Tue, 10 Apr 2018 15:38:13 GMT'] - fastly-ratelimit-remaining: ['970'] - fastly-ratelimit-reset: ['1523376000'] - status: [200 OK] - vary: [Accept-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: ['S1523374693.978218,VS0,VE429'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/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: ['Tue, 10 Apr 2018 15:38:14 GMT'] - fastly-ratelimit-remaining: ['969'] - fastly-ratelimit-reset: ['1523376000'] - status: [200 OK] - vary: [Accept-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: ['S1523374694.606231,VS0,VE428'] - 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/3h4ENeSDyBM1eOum86kriA/version/4/domain - response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3h4ENeSDyBM1eOum86kriA","version":4,"deleted_at":null,"created_at":"2018-04-10T15:38:15Z","updated_at":"2018-04-10T15:38:15Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['188'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:15 GMT'] - fastly-ratelimit-remaining: ['968'] - fastly-ratelimit-reset: ['1523376000'] - status: [200 OK] - vary: [Accept-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: ['S1523374694.230411,VS0,VE967'] - 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/3h4ENeSDyBM1eOum86kriA/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":"3h4ENeSDyBM1eOum86kriA","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T15:38: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-04-10T15:38:15Z","comment":""}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['716'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:15 GMT'] - fastly-ratelimit-remaining: ['967'] - fastly-ratelimit-reset: ['1523376000'] - status: [200 OK] - vary: [Accept-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: ['S1523374695.262020,VS0,VE535'] - 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/3h4ENeSDyBM1eOum86kriA/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":"3h4ENeSDyBM1eOum86kriA","version":"4","updated_at":"2018-04-10T15:38:16Z","deleted_at":null,"created_at":"2018-04-10T15:38:16Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['412'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:16 GMT'] - fastly-ratelimit-remaining: ['966'] - fastly-ratelimit-reset: ['1523376000'] - status: [200 OK] - vary: [Accept-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: ['S1523374696.907204,VS0,VE419'] - 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/3h4ENeSDyBM1eOum86kriA/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":"3h4ENeSDyBM1eOum86kriA","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T15:38:16Z","updated_at":"2018-04-10T15:38:16Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['278'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:16 GMT'] - fastly-ratelimit-remaining: ['965'] - fastly-ratelimit-reset: ['1523376000'] + date: ['Tue, 29 May 2018 21:58: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-fra19136-FRA'] - x-timer: ['S1523374697.525402,VS0,VE158'] - 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/3h4ENeSDyBM1eOum86kriA/version/4/settings - response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"3h4ENeSDyBM1eOum86kriA"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['128'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:16 GMT'] - fastly-ratelimit-remaining: ['964'] - fastly-ratelimit-reset: ['1523376000'] - status: [200 OK] - vary: [Accept-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: ['S1523374697.741331,VS0,VE181'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527631089.775577,VS0,VE364'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/details + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/backend 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":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:10Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:18Z","deployed":false},{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:19Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:27Z","deployed":false},{"testing":false,"locked":false,"number":4,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:38:07Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:38:16Z","deployed":false}],"created_at":"2018-04-10T15:33:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T15:33:10Z","id":"3h4ENeSDyBM1eOum86kriA","version":{"testing":false,"number":4,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"updated_at":"2018-04-10T15:38:16Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T15:38:07Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:45:58Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:45:58Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2776'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38: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-fra19127-FRA'] - x-timer: ['S1523374697.984242,VS0,VE145'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - 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":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:10Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:18Z","deployed":false},{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:19Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:27Z","deployed":false},{"testing":false,"locked":false,"number":4,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:38:07Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:38:16Z","deployed":false}],"created_at":"2018-04-10T15:33:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T15:33:10Z","id":"3h4ENeSDyBM1eOum86kriA"}'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['1160'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38: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: ['S1523374697.193351,VS0,VE120'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/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":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:10Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:18Z","deployed":false},{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:19Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:27Z","deployed":false},{"testing":false,"locked":false,"number":4,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:38:07Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:38:16Z","deployed":false}],"created_at":"2018-04-10T15:33:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T15:33:10Z","id":"3h4ENeSDyBM1eOum86kriA","version":{"testing":false,"number":4,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"updated_at":"2018-04-10T15:38:16Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T15:38:07Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.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: ['2776'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38: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-fra19141-FRA'] - x-timer: ['S1523374697.378191,VS0,VE108'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/4/clone - response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":5,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:38:07Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:38:16Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:18 GMT'] - fastly-ratelimit-remaining: ['963'] - fastly-ratelimit-reset: ['1523376000'] - status: [200 OK] - vary: [Accept-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: ['S1523374698.547703,VS0,VE476'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/domain - response: - body: {string: !!python/unicode '[{"version":5,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3h4ENeSDyBM1eOum86kriA","created_at":"2018-04-10T15:38:15Z","comment":"test1","updated_at":"2018-04-10T15:38:15Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['190'] + content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:18 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19136-FRA'] - x-timer: ['S1523374698.086966,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527631089.210946,VS0,VE367'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/healthcheck + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -715,21 +261,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:18 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19126-FRA'] - x-timer: ['S1523374698.272204,VS0,VE391'] + x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] + x-timer: ['S1527631090.652436,VS0,VE375'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/condition + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -739,45 +285,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38: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: ['S1523374699.737473,VS0,VE120'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/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-04-10T15:38: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":"3h4ENeSDyBM1eOum86kriA","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-04-10T15:38:15Z","comment":""}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['718'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:19 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19142-FRA'] - x-timer: ['S1523374699.922626,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527631090.190741,VS0,VE361'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/director + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -787,45 +309,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:19 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19135-FRA'] - x-timer: ['S1523374699.103230,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] + x-timer: ['S1527631091.702141,VS0,VE115'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/cache_settings + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/header response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"57Y1hKLhUxDEk5fr6QHM8L","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:45:58Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:45:58Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['414'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:19 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19139-FRA'] - x-timer: ['S1523374699.279256,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527631091.886763,VS0,VE369'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/gzip + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -835,46 +358,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:19 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19125-FRA'] - x-timer: ['S1523374699.458039,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527631091.417121,VS0,VE364'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/header + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/response_object response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3h4ENeSDyBM1eOum86kriA","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T15:38:16Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"5","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-04-10T15:38:16Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set + 302 status code","content":"","deleted_at":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","cache_condition":"","created_at":"2018-05-29T21:45:59Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:45:59Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['414'] + content-length: ['280'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:19 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19123-FRA'] - x-timer: ['S1523374700.696150,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] + x-timer: ['S1527631092.852389,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/request_settings + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -884,46 +407,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38: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: ['S1523374700.899271,VS0,VE113'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/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":"3h4ENeSDyBM1eOum86kriA","cache_condition":"","created_at":"2018-04-10T15:38:16Z","content_type":"","request_condition":"","updated_at":"2018-04-10T15:38:16Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['280'] - content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:20 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19120-FRA'] - x-timer: ['S1523374700.078171,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] + x-timer: ['S1527631092.040206,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/snippet + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -933,21 +431,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:20 GMT'] + date: ['Tue, 29 May 2018 21:58: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-fra19128-FRA'] - x-timer: ['S1523374700.263126,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527631092.228010,VS0,VE361'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/domain/cdn.example8000.com + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -956,23 +454,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:20 GMT'] - fastly-ratelimit-remaining: ['962'] - fastly-ratelimit-reset: ['1523376000'] + date: ['Tue, 29 May 2018 21:58:13 GMT'] + fastly-ratelimit-remaining: ['671'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523374700.446878,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] + x-timer: ['S1527631093.752907,VS0,VE412'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/backend/localhost + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -981,23 +479,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:21 GMT'] - fastly-ratelimit-remaining: ['961'] - fastly-ratelimit-reset: ['1523376000'] + date: ['Tue, 29 May 2018 21:58:13 GMT'] + fastly-ratelimit-remaining: ['670'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523374701.124661,VS0,VE446'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527631093.260471,VS0,VE428'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/header/Set%20Location%20header + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1006,23 +504,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:21 GMT'] - fastly-ratelimit-remaining: ['960'] - fastly-ratelimit-reset: ['1523376000'] + date: ['Tue, 29 May 2018 21:58:14 GMT'] + fastly-ratelimit-remaining: ['669'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] - x-timer: ['S1523374702.651837,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527631094.771872,VS0,VE445'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1031,41 +529,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:22 GMT'] - fastly-ratelimit-remaining: ['959'] - fastly-ratelimit-reset: ['1523376000'] + date: ['Tue, 29 May 2018 21:58:14 GMT'] + fastly-ratelimit-remaining: ['668'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] - x-timer: ['S1523374702.876814,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527631094.289740,VS0,VE412'] 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/3h4ENeSDyBM1eOum86kriA/version/5/domain + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3h4ENeSDyBM1eOum86kriA","version":5,"deleted_at":null,"created_at":"2018-04-10T15:38:22Z","updated_at":"2018-04-10T15:38:22Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":3,"deleted_at":null,"created_at":"2018-05-29T21:58:15Z","updated_at":"2018-05-29T21:58:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:22 GMT'] - fastly-ratelimit-remaining: ['958'] - fastly-ratelimit-reset: ['1523376000'] + date: ['Tue, 29 May 2018 21:58:15 GMT'] + fastly-ratelimit-remaining: ['667'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] - x-timer: ['S1523374702.090705,VS0,VE485'] + x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] + x-timer: ['S1527631095.797818,VS0,VE430'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -1076,25 +574,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/backend + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/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":"3h4ENeSDyBM1eOum86kriA","version":5,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T15:38:22Z","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-04-10T15:38:22Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:58:15Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:58:15Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:22 GMT'] - fastly-ratelimit-remaining: ['957'] - fastly-ratelimit-reset: ['1523376000'] + date: ['Tue, 29 May 2018 21:58:15 GMT'] + fastly-ratelimit-remaining: ['666'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523374703.797557,VS0,VE172'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527631095.301983,VS0,VE414'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -1104,26 +602,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/header + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3h4ENeSDyBM1eOum86kriA","version":"5","updated_at":"2018-04-10T15:38:23Z","deleted_at":null,"created_at":"2018-04-10T15:38:23Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"3","updated_at":"2018-05-29T21:58:16Z","deleted_at":null,"created_at":"2018-05-29T21:58:16Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:23 GMT'] - fastly-ratelimit-remaining: ['956'] - fastly-ratelimit-reset: ['1523376000'] + date: ['Tue, 29 May 2018 21:58:16 GMT'] + fastly-ratelimit-remaining: ['665'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523374703.039929,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527631096.821635,VS0,VE406'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "301", "request_condition": "", "name": "Set @@ -1131,76 +629,76 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/version/5/response_object + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/response_object response: body: {string: !!python/unicode '{"status":"301","request_condition":"","name":"Set - 301 status code","content":"","content_type":"","response":"Ok","service_id":"3h4ENeSDyBM1eOum86kriA","version":"5","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T15:38:23Z","updated_at":"2018-04-10T15:38:23Z"}'} + 301 status code","content":"","content_type":"","response":"Ok","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:58:16Z","updated_at":"2018-05-29T21:58:16Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:23 GMT'] - fastly-ratelimit-remaining: ['955'] - fastly-ratelimit-reset: ['1523376000'] + date: ['Tue, 29 May 2018 21:58:16 GMT'] + fastly-ratelimit-remaining: ['664'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523374703.259991,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] + x-timer: ['S1527631096.333500,VS0,VE407'] 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/3h4ENeSDyBM1eOum86kriA/version/5/settings + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":5,"general.default_host":"","general.default_pci":0,"service_id":"3h4ENeSDyBM1eOum86kriA"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"57Y1hKLhUxDEk5fr6QHM8L"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:23 GMT'] - fastly-ratelimit-remaining: ['954'] - fastly-ratelimit-reset: ['1523376000'] + date: ['Tue, 29 May 2018 21:58:17 GMT'] + fastly-ratelimit-remaining: ['663'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523374703.473688,VS0,VE171'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527631097.813526,VS0,VE420'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3h4ENeSDyBM1eOum86kriA/details + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/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":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:10Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:10Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:18Z","deployed":false},{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:33:19Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:33:27Z","deployed":false},{"testing":false,"locked":false,"number":4,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:38:07Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:38:16Z","deployed":false},{"testing":false,"locked":false,"number":5,"active":false,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"created_at":"2018-04-10T15:38:17Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T15:38:23Z","deployed":false}],"created_at":"2018-04-10T15:33:10Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T15:33:10Z","id":"3h4ENeSDyBM1eOum86kriA","version":{"testing":false,"number":5,"service_id":"3h4ENeSDyBM1eOum86kriA","staging":false,"updated_at":"2018-04-10T15:38:23Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T15:38: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":[],"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":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false},{"testing":false,"locked":false,"number":3,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:58:07Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:58:16Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:58:16Z","active":false,"number":3,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:58:07Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.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":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3009'] + content-length: ['2609'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 15:38:23 GMT'] + date: ['Tue, 29 May 2018 21:58: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: ['S1523374704.707490,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527631097.311631,VS0,VE438'] 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 7c68c04..f3e810f 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,105 +6,105 @@ 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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"number":7,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:20Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:13Z","comment":""},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:12Z","active":true,"number":7,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:03Z","comment":""},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2076'] + content-length: ['2085'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:31 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371291.349765,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630323.220079,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":8,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:29Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:41:21Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:21Z","active":false,"number":8,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":7,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:20Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:12Z","active":true,"number":7,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['5267'] + content-length: ['5410'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:31 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19144-FRA'] - x-timer: ['S1523371292.551794,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] + x-timer: ['S1527630324.702886,VS0,VE358'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/7/clone + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":9,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:31 GMT'] - fastly-ratelimit-remaining: ['884'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:24 GMT'] + fastly-ratelimit-remaining: ['827'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] - x-timer: ['S1523371292.726587,VS0,VE202'] + x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] + x-timer: ['S1527630324.149780,VS0,VE428'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/domain response: - body: {string: !!python/unicode '[{"version":9,"name":"cdn.example8000.com","deleted_at":null,"service_id":"sElL34MDwVdi6ShBTQYLI","created_at":"2018-04-10T14:41:18Z","comment":"test1","updated_at":"2018-04-10T14:41:18Z"}]'} + body: {string: !!python/unicode '[{"version":9,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:45:09Z","comment":"test1","updated_at":"2018-05-29T21:45:09Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['189'] + content-length: ['190'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:32 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19124-FRA'] - x-timer: ['S1523371292.989557,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630325.653507,VS0,VE372'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/healthcheck + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:32 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19139-FRA'] - x-timer: ['S1523371292.164368,VS0,VE419'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630325.149782,VS0,VE368'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/condition + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/condition response: body: {string: !!python/unicode '[]'} headers: @@ -138,45 +138,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:32 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19129-FRA'] - x-timer: ['S1523371293.815150,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630326.664617,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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-04-10T14:41:18Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"sElL34MDwVdi6ShBTQYLI","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-04-10T14:41:18Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:45:09Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":9,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:45:09Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['717'] + content-length: ['718'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:33 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371293.999582,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630326.848361,VS0,VE384'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/director + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/director response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:33 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19121-FRA'] - x-timer: ['S1523371294.651795,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] + x-timer: ['S1527630326.307286,VS0,VE364'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/cache_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:33 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371294.830018,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630327.791326,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/gzip + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -234,46 +234,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:34 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19122-FRA'] - x-timer: ['S1523371294.014850,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630327.974989,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"sElL34MDwVdi6ShBTQYLI","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-04-10T14:41:19Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"9","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-04-10T14:41:19Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:45:10Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"9","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:45:10Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['413'] + content-length: ['414'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:34 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19143-FRA'] - x-timer: ['S1523371294.488659,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630327.167017,VS0,VE362'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/request_settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -283,46 +283,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:35 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19150-FRA'] - x-timer: ['S1523371295.662400,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] + x-timer: ['S1527630328.605139,VS0,VE375'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","cache_condition":"","created_at":"2018-04-10T14:41:19Z","content_type":"","request_condition":"","updated_at":"2018-04-10T14:41:19Z"}]'} + 301 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:45:10Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:45:10Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['279'] + content-length: ['280'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:35 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371295.142891,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] + x-timer: ['S1527630328.057329,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/snippet + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -332,21 +332,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:35 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371295.344842,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] + x-timer: ['S1527630329.541411,VS0,VE110'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/logging/s3 + 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: ['Tue, 29 May 2018 21:45:29 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] + x-timer: ['S1527630329.725995,VS0,VE369'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -355,23 +379,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:35 GMT'] - fastly-ratelimit-remaining: ['883'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:29 GMT'] + fastly-ratelimit-remaining: ['826'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] - x-timer: ['S1523371296.524129,VS0,VE421'] + x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] + x-timer: ['S1527630329.168696,VS0,VE423'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/backend/localhost + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +404,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:36 GMT'] - fastly-ratelimit-remaining: ['882'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:29 GMT'] + fastly-ratelimit-remaining: ['825'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19121-FRA'] - x-timer: ['S1523371296.013654,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] + x-timer: ['S1527630330.668291,VS0,VE180'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/header/Set%20Location%20header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +429,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:36 GMT'] - fastly-ratelimit-remaining: ['881'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:30 GMT'] + fastly-ratelimit-remaining: ['824'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371296.235831,VS0,VE449'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630330.923223,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/response_object/Set%20301%20status%20code + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/response_object/Set%20301%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,41 +454,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:37 GMT'] - fastly-ratelimit-remaining: ['880'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:30 GMT'] + fastly-ratelimit-remaining: ['823'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1523371297.816228,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630330.414330,VS0,VE423'] 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/sElL34MDwVdi6ShBTQYLI/version/9/domain + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"sElL34MDwVdi6ShBTQYLI","version":9,"deleted_at":null,"created_at":"2018-04-10T14:41:37Z","updated_at":"2018-04-10T14:41:37Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":9,"deleted_at":null,"created_at":"2018-05-29T21:45:31Z","updated_at":"2018-05-29T21:45:31Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['187'] + content-length: ['188'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:37 GMT'] - fastly-ratelimit-remaining: ['879'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:31 GMT'] + fastly-ratelimit-remaining: ['822'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] - x-timer: ['S1523371297.301641,VS0,VE201'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630331.913255,VS0,VE446'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -475,25 +499,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/backend + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":9,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:41: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-04-10T14:41:37Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":9,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:45:31Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:45:31Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:37 GMT'] - fastly-ratelimit-remaining: ['878'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:31 GMT'] + fastly-ratelimit-remaining: ['821'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19121-FRA'] - x-timer: ['S1523371298.562835,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] + x-timer: ['S1527630331.436719,VS0,VE413'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -503,26 +527,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/header + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"9","updated_at":"2018-04-10T14:41:38Z","deleted_at":null,"created_at":"2018-04-10T14:41:38Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"9","updated_at":"2018-05-29T21:45:32Z","deleted_at":null,"created_at":"2018-05-29T21:45:32Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['411'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:38 GMT'] - fastly-ratelimit-remaining: ['877'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:32 GMT'] + fastly-ratelimit-remaining: ['820'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371298.788555,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630332.929604,VS0,VE161'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -530,104 +554,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/response_object + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","version":"9","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:41:38Z","updated_at":"2018-04-10T14:41:38Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"9","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:32Z","updated_at":"2018-05-29T21:45:32Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:38 GMT'] - fastly-ratelimit-remaining: ['876'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:32 GMT'] + fastly-ratelimit-remaining: ['819'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] - x-timer: ['S1523371298.460263,VS0,VE438'] + x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] + x-timer: ['S1527630332.165739,VS0,VE400'] 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/sElL34MDwVdi6ShBTQYLI/version/9/settings + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":9,"general.default_host":"","general.default_pci":0,"service_id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":9,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:39 GMT'] - fastly-ratelimit-remaining: ['875'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:33 GMT'] + fastly-ratelimit-remaining: ['818'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] - x-timer: ['S1523371299.981589,VS0,VE422'] + x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] + x-timer: ['S1527630333.641624,VS0,VE419'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/activate + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:31Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:38Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:32Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['240'] + content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:40 GMT'] - fastly-ratelimit-remaining: ['874'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:34 GMT'] + fastly-ratelimit-remaining: ['817'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371300.504376,VS0,VE1491'] + x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] + x-timer: ['S1527630333.138306,VS0,VE885'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:31Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['5496'] + content-length: ['5640'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:41 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19122-FRA'] - x-timer: ['S1523371301.171932,VS0,VE200'] + x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] + x-timer: ['S1527630334.098532,VS0,VE137'] status: {code: 200, message: OK} - request: body: null @@ -636,76 +660,77 @@ 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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":""}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2307'] + content-length: ['2317'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:41 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371301.437829,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630334.311309,VS0,VE397'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:31Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['5496'] + content-length: ['5640'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:41 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19146-FRA'] - x-timer: ['S1523371302.641353,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630335.782206,VS0,VE108'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:31Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['5496'] + content-length: ['5640'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:41 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19120-FRA'] - x-timer: ['S1523371302.810252,VS0,VE107'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630335.964132,VS0,VE106'] 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 93ccfe9..f32d603 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,75 +6,77 @@ 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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":""}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2307'] + content-length: ['2317'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:42 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19127-FRA'] - x-timer: ['S1523371302.041489,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630335.228017,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:31Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['5496'] + content-length: ['5640'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:42 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19125-FRA'] - x-timer: ['S1523371302.261607,VS0,VE376'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630335.435110,VS0,VE107'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:31Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['5496'] + content-length: ['5640'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:43 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19129-FRA'] - x-timer: ['S1523371303.700195,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630336.617219,VS0,VE112'] status: {code: 200, message: OK} - request: body: null @@ -83,74 +85,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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":""}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2307'] + content-length: ['2317'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:43 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371303.168074,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] + x-timer: ['S1527630336.804410,VS0,VE392'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:31Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['5496'] + content-length: ['5640'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:43 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371303.373845,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527630336.274009,VS0,VE110'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:31Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['5496'] + content-length: ['5640'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:43 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19143-FRA'] - x-timer: ['S1523371304.563098,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630336.457536,VS0,VE360'] 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 87b13ae..47542d7 100644 --- a/tests/fixtures/cassettes/test_service_does_not_exist +++ b/tests/fixtures/cassettes/test_service_does_not_exist @@ -6,81 +6,81 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":""}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2307'] + content-length: ['2317'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:44 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19121-FRA'] - x-timer: ['S1523371304.080184,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] + x-timer: ['S1527630337.959488,VS0,VE142'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/details + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/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":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:28Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:44Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:36Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:40:52Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:45Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:01Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:40:54Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:12Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:04Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:20Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:13Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:21Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:29Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:31Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false}],"created_at":"2018-04-10T14:40:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:40:28Z","id":"sElL34MDwVdi6ShBTQYLI","version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":9,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"updated_at":"2018-04-10T14:41:40Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:31Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['5496'] + content-length: ['5640'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:44 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371304.284872,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] + x-timer: ['S1527630337.177855,VS0,VE360'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI/version/9/deactivate + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":false,"service_id":"sElL34MDwVdi6ShBTQYLI","staging":false,"created_at":"2018-04-10T14:41:31Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:40Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['230'] + content-length: ['231'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:44 GMT'] - fastly-ratelimit-remaining: ['873'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:38 GMT'] + fastly-ratelimit-remaining: ['816'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371304.468610,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] + x-timer: ['S1527630338.613725,VS0,VE458'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/sElL34MDwVdi6ShBTQYLI + uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,16 +89,16 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:45 GMT'] - fastly-ratelimit-remaining: ['872'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:38 GMT'] + fastly-ratelimit-remaining: ['815'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371305.961578,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] + x-timer: ['S1527630338.465960,VS0,VE390'] status: {code: 200, message: OK} - request: body: null @@ -116,14 +116,14 @@ interactions: connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:45 GMT'] + date: ['Tue, 29 May 2018 21:45:39 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-fra19149-FRA'] - x-timer: ['S1523371306.558738,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] + x-timer: ['S1527630339.275645,VS0,VE116'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -133,79 +133,79 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"ffb8c08b94d506b85bd7a4ac3c7fa6930c61361c","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Hjn520A1wb92hzBQHptH4","staging":false,"created_at":"2018-04-10T14:41:46Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:46Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:41:46Z","comment":"","updated_at":"2018-04-10T14:41:46Z","id":"2Hjn520A1wb92hzBQHptH4"}'} + Fastly Ansible Module Test","publish_key":"34bde2373978f3e8697b2f8830349de66d875a78","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:45:39Z","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['518'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:46 GMT'] - fastly-ratelimit-remaining: ['871'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:40 GMT'] + fastly-ratelimit-remaining: ['814'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] - x-timer: ['S1523371306.736074,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] + x-timer: ['S1527630340.652842,VS0,VE383'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/details + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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":"2Hjn520A1wb92hzBQHptH4","staging":false,"created_at":"2018-04-10T14:41:46Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:46Z","deployed":false}],"created_at":"2018-04-10T14:41:46Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:41:46Z","id":"2Hjn520A1wb92hzBQHptH4","version":{"testing":false,"number":1,"service_id":"2Hjn520A1wb92hzBQHptH4","staging":false,"updated_at":"2018-04-10T14:41:46Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:41:46Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:39Z","active":false,"number":1,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:39Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1047'] + content-length: ['1113'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:46 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19124-FRA'] - x-timer: ['S1523371306.224735,VS0,VE479'] + x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] + x-timer: ['S1527630340.340675,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/1/clone + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2Hjn520A1wb92hzBQHptH4","staging":false,"created_at":"2018-04-10T14:41:46Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:46Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:47 GMT'] - fastly-ratelimit-remaining: ['870'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:41 GMT'] + fastly-ratelimit-remaining: ['813'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] - x-timer: ['S1523371307.814268,VS0,VE482'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630341.719201,VS0,VE488'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/domain + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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: ['Tue, 10 Apr 2018 14:41:47 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19120-FRA'] - x-timer: ['S1523371307.443606,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630341.410167,VS0,VE365'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/healthcheck + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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: ['Tue, 10 Apr 2018 14:41:48 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19145-FRA'] - x-timer: ['S1523371308.909665,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] + x-timer: ['S1527630342.125233,VS0,VE111'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/condition + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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: ['Tue, 10 Apr 2018 14:41:48 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19122-FRA'] - x-timer: ['S1523371308.090426,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630342.331953,VS0,VE153'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/backend + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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: ['Tue, 10 Apr 2018 14:41:48 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19143-FRA'] - x-timer: ['S1523371309.697934,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] + x-timer: ['S1527630343.557883,VS0,VE368'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/director + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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: ['Tue, 10 Apr 2018 14:41:49 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19121-FRA'] - x-timer: ['S1523371309.893700,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] + x-timer: ['S1527630343.000989,VS0,VE403'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/cache_settings + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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: ['Tue, 10 Apr 2018 14:41:49 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371309.071334,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630343.477792,VS0,VE365'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/gzip + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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: ['Tue, 10 Apr 2018 14:41:49 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371309.249928,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] + x-timer: ['S1527630344.919621,VS0,VE398'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/header + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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: ['Tue, 10 Apr 2018 14:41:49 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19147-FRA'] - x-timer: ['S1523371309.438314,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] + x-timer: ['S1527630344.390296,VS0,VE111'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/request_settings + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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: ['Tue, 10 Apr 2018 14:41:49 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371310.626569,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] + x-timer: ['S1527630345.574493,VS0,VE404'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/response_object + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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: ['Tue, 10 Apr 2018 14:41:49 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19124-FRA'] - x-timer: ['S1523371310.814468,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] + x-timer: ['S1527630345.051376,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/snippet + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -455,39 +455,63 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:50 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19130-FRA'] - x-timer: ['S1523371310.000766,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630345.244862,VS0,VE116'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/logging/s3 + 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: ['Tue, 29 May 2018 21:45: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-ams4140-AMS'] + x-timer: ['S1527630345.436491,VS0,VE370'] 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/2Hjn520A1wb92hzBQHptH4/version/2/domain + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"2Hjn520A1wb92hzBQHptH4","version":2,"deleted_at":null,"created_at":"2018-04-10T14:41:50Z","updated_at":"2018-04-10T14:41:50Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":2,"deleted_at":null,"created_at":"2018-05-29T21:45:46Z","updated_at":"2018-05-29T21:45:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:50 GMT'] - fastly-ratelimit-remaining: ['869'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:46 GMT'] + fastly-ratelimit-remaining: ['812'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] - x-timer: ['S1523371310.179009,VS0,VE460'] + x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] + x-timer: ['S1527630346.889841,VS0,VE456'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -498,25 +522,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/backend + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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":"2Hjn520A1wb92hzBQHptH4","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:41:51Z","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-04-10T14:41:51Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:45:46Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:45:46Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:51 GMT'] - fastly-ratelimit-remaining: ['868'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:46 GMT'] + fastly-ratelimit-remaining: ['811'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] - x-timer: ['S1523371311.790092,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] + x-timer: ['S1527630346.416811,VS0,VE418'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -526,26 +550,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/header + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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":"2Hjn520A1wb92hzBQHptH4","version":"2","updated_at":"2018-04-10T14:41:51Z","deleted_at":null,"created_at":"2018-04-10T14:41:51Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":"2","updated_at":"2018-05-29T21:45:47Z","deleted_at":null,"created_at":"2018-05-29T21:45:47Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:51 GMT'] - fastly-ratelimit-remaining: ['867'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:47 GMT'] + fastly-ratelimit-remaining: ['810'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] - x-timer: ['S1523371311.309487,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] + x-timer: ['S1527630347.912825,VS0,VE410'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -553,103 +577,103 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/response_object + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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":"2Hjn520A1wb92hzBQHptH4","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:41:52Z","updated_at":"2018-04-10T14:41:52Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:47Z","updated_at":"2018-05-29T21:45:47Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:52 GMT'] - fastly-ratelimit-remaining: ['866'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:47 GMT'] + fastly-ratelimit-remaining: ['809'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] - x-timer: ['S1523371312.829313,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] + x-timer: ['S1527630347.396927,VS0,VE394'] 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/2Hjn520A1wb92hzBQHptH4/version/2/settings + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2Hjn520A1wb92hzBQHptH4"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4u2fnCmSqvXoeMaXUyWWRi"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['128'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:52 GMT'] - fastly-ratelimit-remaining: ['865'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:48 GMT'] + fastly-ratelimit-remaining: ['808'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] - x-timer: ['S1523371312.297707,VS0,VE175'] + x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] + x-timer: ['S1527630348.870023,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/version/2/activate + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Hjn520A1wb92hzBQHptH4","staging":false,"created_at":"2018-04-10T14:41:47Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:52Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:47Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:53 GMT'] - fastly-ratelimit-remaining: ['864'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:49 GMT'] + fastly-ratelimit-remaining: ['807'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] - x-timer: ['S1523371313.538292,VS0,VE753'] + x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] + x-timer: ['S1527630348.362801,VS0,VE1034'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2Hjn520A1wb92hzBQHptH4/details + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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":"2Hjn520A1wb92hzBQHptH4","staging":false,"created_at":"2018-04-10T14:41:46Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:46Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Hjn520A1wb92hzBQHptH4","staging":false,"created_at":"2018-04-10T14:41:47Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:53Z","deployed":false}],"created_at":"2018-04-10T14:41:46Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:41:46Z","id":"2Hjn520A1wb92hzBQHptH4","version":{"testing":false,"number":2,"service_id":"2Hjn520A1wb92hzBQHptH4","staging":false,"updated_at":"2018-04-10T14:41:53Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:47Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:49Z","deployed":false}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"number":2,"service_id":"2Hjn520A1wb92hzBQHptH4","staging":false,"updated_at":"2018-04-10T14:41:53Z","deployed":false,"locked":true,"active":true,"deleted_at":null,"created_at":"2018-04-10T14:41:47Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + 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: ['3883'] + content-length: ['4015'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:41:53 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19138-FRA'] - x-timer: ['S1523371313.351947,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630349.473028,VS0,VE145'] 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 09de38d..89c5e1a 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,55 +6,81 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2SY9ckFIuLtk27WknzOraK","staging":false,"created_at":"2018-04-10T14:41:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:55Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2SY9ckFIuLtk27WknzOraK","staging":false,"created_at":"2018-04-10T14:41:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:03Z","deployed":false}],"created_at":"2018-04-10T14:41:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:41:55Z","id":"2SY9ckFIuLtk27WknzOraK"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","comment":""}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['694'] + content-length: ['692'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:39 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19149-FRA'] - x-timer: ['S1523371659.441938,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] + x-timer: ['S1527630350.766916,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2SY9ckFIuLtk27WknzOraK/details + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/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":"2SY9ckFIuLtk27WknzOraK","staging":false,"created_at":"2018-04-10T14:41:55Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:41:55Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2SY9ckFIuLtk27WknzOraK","staging":false,"created_at":"2018-04-10T14:41:56Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:42:03Z","deployed":false}],"created_at":"2018-04-10T14:41:55Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:41:55Z","id":"2SY9ckFIuLtk27WknzOraK","version":{"testing":false,"number":2,"service_id":"2SY9ckFIuLtk27WknzOraK","staging":false,"updated_at":"2018-04-10T14:42:03Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:41:56Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"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":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:49Z","deployed":false}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.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: ['2310'] + content-length: ['4015'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:40 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19123-FRA'] - x-timer: ['S1523371660.059103,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] + x-timer: ['S1527630350.232843,VS0,VE110'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/deactivate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:49Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['231'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:45:50 GMT'] + fastly-ratelimit-remaining: ['806'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630350.415828,VS0,VE232'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2SY9ckFIuLtk27WknzOraK + uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -63,16 +89,16 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:40 GMT'] - fastly-ratelimit-remaining: ['728'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:51 GMT'] + fastly-ratelimit-remaining: ['805'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] - x-timer: ['S1523371660.272099,VS0,VE398'] + x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] + x-timer: ['S1527630351.720371,VS0,VE390'] status: {code: 200, message: OK} - request: body: null @@ -85,19 +111,18 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Jimdo Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:40 GMT'] + date: ['Tue, 29 May 2018 21:45:51 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] - x-timer: ['S1523371661.731711,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630351.184330,VS0,VE399'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -107,79 +132,103 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"d6b50ca280fa13acef1b47f843229028e80630f1","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"w7Nlu00Zboyz0qykr3Xd8","staging":false,"created_at":"2018-04-10T14:47:41Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:47:41Z","deployed":false}],"deleted_at":null,"created_at":"2018-04-10T14:47:41Z","comment":"","updated_at":"2018-04-10T14:47:41Z","id":"w7Nlu00Zboyz0qykr3Xd8"}'} + Fastly Ansible Module Test","publish_key":"75af2885871f9013fab19959fad10c6aa3d86569","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:45:51Z","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['516'] + content-length: ['518'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:41 GMT'] - fastly-ratelimit-remaining: ['727'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:52 GMT'] + fastly-ratelimit-remaining: ['804'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371661.909963,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] + x-timer: ['S1527630352.659827,VS0,VE386'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/details + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/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":"w7Nlu00Zboyz0qykr3Xd8","staging":false,"created_at":"2018-04-10T14:47:41Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:47:41Z","deployed":false}],"created_at":"2018-04-10T14:47:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:47:41Z","id":"w7Nlu00Zboyz0qykr3Xd8","version":{"testing":false,"number":1,"service_id":"w7Nlu00Zboyz0qykr3Xd8","staging":false,"updated_at":"2018-04-10T14:47:41Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14:47:41Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"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":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:51Z","active":false,"number":1,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:51Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1044'] + content-length: ['1113'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:41 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19146-FRA'] - x-timer: ['S1523371662.524814,VS0,VE446'] + x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] + x-timer: ['S1527630352.120383,VS0,VE397'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/1/clone + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"w7Nlu00Zboyz0qykr3Xd8","staging":false,"created_at":"2018-04-10T14:47:41Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:47:41Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['231'] + content-length: ['232'] + content-type: [application/json] + date: ['Tue, 29 May 2018 21:45:53 GMT'] + fastly-ratelimit-remaining: ['803'] + fastly-ratelimit-reset: ['1527631200'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630353.590328,VS0,VE491'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/domain + 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: ['Tue, 10 Apr 2018 14:47:42 GMT'] - fastly-ratelimit-remaining: ['726'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45: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-fra19132-FRA'] - x-timer: ['S1523371662.033481,VS0,VE468'] + x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] + x-timer: ['S1527630353.171165,VS0,VE364'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/domain + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -189,21 +238,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:42 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19129-FRA'] - x-timer: ['S1523371663.568816,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] + x-timer: ['S1527630354.611668,VS0,VE406'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/healthcheck + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -213,21 +262,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:43 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371663.745519,VS0,VE381'] + x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] + x-timer: ['S1527630354.091188,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/condition + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -237,21 +286,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:43 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19142-FRA'] - x-timer: ['S1523371663.197658,VS0,VE375'] + x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] + x-timer: ['S1527630354.282845,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/backend + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -261,21 +310,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:43 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19129-FRA'] - x-timer: ['S1523371664.636920,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630354.474851,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/director + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -285,21 +334,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:44 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19150-FRA'] - x-timer: ['S1523371664.817900,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630355.665787,VS0,VE366'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/cache_settings + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -309,21 +358,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:44 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19126-FRA'] - x-timer: ['S1523371664.288673,VS0,VE378'] + x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] + x-timer: ['S1527630355.106465,VS0,VE110'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/gzip + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +382,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:44 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19129-FRA'] - x-timer: ['S1523371665.887504,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] + x-timer: ['S1527630355.298770,VS0,VE357'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/header + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +406,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:45 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19140-FRA'] - x-timer: ['S1523371665.064059,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] + x-timer: ['S1527630356.728987,VS0,VE110'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/request_settings + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -381,21 +430,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:45 GMT'] + date: ['Tue, 29 May 2018 21:45: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: ['S1523371665.236088,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630356.908674,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/response_object + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -405,21 +454,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:45 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19140-FRA'] - x-timer: ['S1523371665.415588,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] + x-timer: ['S1527630356.391407,VS0,VE552'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/snippet + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -429,39 +478,39 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:46 GMT'] + date: ['Tue, 29 May 2018 21:45: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-fra19132-FRA'] - x-timer: ['S1523371666.015906,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] + x-timer: ['S1527630357.016630,VS0,VE291'] 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/w7Nlu00Zboyz0qykr3Xd8/version/2/domain + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"w7Nlu00Zboyz0qykr3Xd8","version":2,"deleted_at":null,"created_at":"2018-04-10T14:47:46Z","updated_at":"2018-04-10T14:47:46Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":2,"deleted_at":null,"created_at":"2018-05-29T21:45:57Z","updated_at":"2018-05-29T21:45:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['187'] + content-length: ['188'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:46 GMT'] - fastly-ratelimit-remaining: ['725'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:57 GMT'] + fastly-ratelimit-remaining: ['802'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] - x-timer: ['S1523371666.192851,VS0,VE533'] + x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] + x-timer: ['S1527630357.385644,VS0,VE534'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": @@ -472,25 +521,25 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/backend + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/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":"w7Nlu00Zboyz0qykr3Xd8","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-04-10T14:47: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-04-10T14:47:47Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:45:58Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:45:58Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['715'] + content-length: ['716'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:47 GMT'] - fastly-ratelimit-remaining: ['724'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:58 GMT'] + fastly-ratelimit-remaining: ['801'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] - x-timer: ['S1523371667.852780,VS0,VE450'] + x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] + x-timer: ['S1527630358.995121,VS0,VE434'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": @@ -500,26 +549,26 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/header + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/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":"w7Nlu00Zboyz0qykr3Xd8","version":"2","updated_at":"2018-04-10T14:47:47Z","deleted_at":null,"created_at":"2018-04-10T14:47:47Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"2","updated_at":"2018-05-29T21:45:58Z","deleted_at":null,"created_at":"2018-05-29T21:45:58Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['411'] + content-length: ['412'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:47 GMT'] - fastly-ratelimit-remaining: ['723'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:58 GMT'] + fastly-ratelimit-remaining: ['800'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] - x-timer: ['S1523371667.364321,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] + x-timer: ['S1527630359.551939,VS0,VE437'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -527,76 +576,76 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/version/2/response_object + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/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":"w7Nlu00Zboyz0qykr3Xd8","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-04-10T14:47:47Z","updated_at":"2018-04-10T14:47:47Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:59Z","updated_at":"2018-05-29T21:45:59Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['277'] + content-length: ['278'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:47 GMT'] - fastly-ratelimit-remaining: ['722'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:45:59 GMT'] + fastly-ratelimit-remaining: ['799'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] - x-timer: ['S1523371668.572604,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] + x-timer: ['S1527630359.064093,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/w7Nlu00Zboyz0qykr3Xd8/version/2/settings + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/settings response: - body: {string: !!python/unicode '{"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"w7Nlu00Zboyz0qykr3Xd8"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"57Y1hKLhUxDEk5fr6QHM8L"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['127'] + content-length: ['194'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:48 GMT'] - fastly-ratelimit-remaining: ['721'] - fastly-ratelimit-reset: ['1523372400'] + date: ['Tue, 29 May 2018 21:46:00 GMT'] + fastly-ratelimit-remaining: ['798'] + fastly-ratelimit-reset: ['1527631200'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] - x-timer: ['S1523371668.776978,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] + x-timer: ['S1527630360.582792,VS0,VE491'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/w7Nlu00Zboyz0qykr3Xd8/details + uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/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":"w7Nlu00Zboyz0qykr3Xd8","staging":false,"created_at":"2018-04-10T14:47:41Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:47:41Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"w7Nlu00Zboyz0qykr3Xd8","staging":false,"created_at":"2018-04-10T14:47:42Z","deleted_at":null,"comment":"","updated_at":"2018-04-10T14:47:47Z","deployed":false}],"created_at":"2018-04-10T14:47:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-04-10T14:47:41Z","id":"w7Nlu00Zboyz0qykr3Xd8","version":{"testing":false,"number":2,"service_id":"w7Nlu00Zboyz0qykr3Xd8","staging":false,"updated_at":"2018-04-10T14:47:47Z","deployed":false,"locked":false,"active":false,"deleted_at":null,"created_at":"2018-04-10T14: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":"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":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"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.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}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2306'] + content-length: ['2376'] content-type: [application/json] - date: ['Tue, 10 Apr 2018 14:47:48 GMT'] + date: ['Tue, 29 May 2018 21:46: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-fra19130-FRA'] - x-timer: ['S1523371668.312257,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] + x-timer: ['S1527630360.148934,VS0,VE187'] status: {code: 200, message: OK} version: 1 diff --git a/tests/test.yml b/tests/test.yml index 7a23b87..6928a56 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -53,4 +53,18 @@ restart; } } + s3s: + - name: s3-logging + access_key: abc123 + secret_key: 123abc + bucket_name: logging-bucket + domain: s3.amazonaws.com + format: "Y-%m-%dT%H:%M:%S}t %h \"%r\" %>s %b" + format_version: 1 + gzip_level: 3 + message_type: blank + path: foo/bar + period: 60 + redundancy: 2 + timestamp_format: "%Y-%m-%dT%H:%M:%S.000" diff --git a/tests/test_fastly_s3s.py b/tests/test_fastly_s3s.py new file mode 100644 index 0000000..2386a01 --- /dev/null +++ b/tests/test_fastly_s3s.py @@ -0,0 +1,72 @@ +#!/usr/bin/env python +import os +import unittest +import sys + +from test_common import TestCommon + +sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'library')) +from fastly_service import FastlyConfiguration + +class TestFastlyS3s(TestCommon): + + @TestCommon.vcr.use_cassette() + def test_fastly_s3s(self): + s3s_configuration = self.minimal_configuration.copy() + s3s_configuration.update({ + 's3s': [{ + 'name' : 'test_s3', + 'domain' : self.FASTLY_TEST_DOMAIN, + 'secret_key' : 'SECRET', + 'period' : 60, + 'bucket_name' : 'prod-fastly-logs', + 'timestamp_format' : '%Y-%m-%dT%H:%M:%S.000', + 'redundancy' : 'standard', + 'access_key' : 'ACCESS_KEY', + 'format' : '%{%Y-%m-%dT%H:%S.000}t %h "%r" %>s %b', + }], + }) + + configuration = FastlyConfiguration(s3s_configuration) + service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, configuration).service + + svc_conf = service.active_version.configuration + + self.assertEqual(svc_conf.s3s[0].name, 'test_s3') + self.assertEqual(svc_conf.s3s[0].domain, self.FASTLY_TEST_DOMAIN) + self.assertEqual(svc_conf.s3s[0].secret_key, 'SECRET') + self.assertEqual(svc_conf.s3s[0].period, 60) + self.assertEqual(svc_conf.s3s[0].bucket_name, 'prod-fastly-logs') + self.assertEqual(svc_conf.s3s[0].timestamp_format, '%Y-%m-%dT%H:%M:%S.000') + self.assertEqual(svc_conf.s3s[0].redundancy, 'standard') + self.assertEqual(svc_conf.s3s[0].access_key, 'ACCESS_KEY') + self.assertEqual(svc_conf.s3s[0].format, '%{%Y-%m-%dT%H:%S.000}t %h "%r" %>s %b') + self.assertEqual(svc_conf, configuration) + + active_version_number = service.active_version.number + service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, configuration).service + self.assertEqual(service.active_version.number, active_version_number) + + @TestCommon.vcr.use_cassette() + def test_fastly_s3s_remove(self): + s3s_configuration = self.minimal_configuration.copy() + s3s_configuration.update({ + 's3': [{ + 'name' : 'test_s3', + }], + }) + configuration = FastlyConfiguration(s3s_configuration) + + # Configure S3 logging + self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, configuration).service + + # Now apply a configuration without S3 logging + service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, FastlyConfiguration(self.minimal_configuration.copy())).service + svc_conf = service.active_version.configuration + + self.assertEqual(svc_conf.s3s, []) + + +if __name__ == '__main__': + unittest.main() +