diff --git a/library/fastly_service.py b/library/fastly_service.py index c75c2c7..e1dbcc2 100644 --- a/library/fastly_service.py +++ b/library/fastly_service.py @@ -66,6 +66,10 @@ required: false description: - List of S3 loggers + syslogs: + required: false + description: + - List of Syslog loggers settings: required: false description: @@ -140,6 +144,7 @@ import urllib import json import os +import traceback from ansible.module_utils.basic import * # noqa: F403 @@ -152,6 +157,9 @@ def __init__(self, http_response, method, path): except Exception: raise Exception("Unable to parse HTTP response: method: %s, path: %s, status: %s, body: %s, headers: %s" % (method, path, http_response.status, http_response.read(), http_response.getheaders())) + def error(self): + return self.payload.get('detail') or self.payload.get('msg') + class FastlyObjectEncoder(json.JSONEncoder): def default(self, o): @@ -163,6 +171,7 @@ def default(self, o): class FastlyValidationError(RuntimeError): def __init__(self, cls, message): + super(FastlyValidationError, self).__init__(message) self.cls = cls self.message = message @@ -171,9 +180,6 @@ class FastlyObject(object): schema = {} sort_key = None - def to_json(self): - return self.__dict__ - def read_config(self, config, validate_choices, param_name): required = self.schema[param_name].get('required', True) param_type = self.schema[param_name].get('type', 'str') @@ -181,7 +187,7 @@ def read_config(self, config, validate_choices, param_name): choices = self.schema[param_name].get('choices', None) exclude_empty_str = self.schema[param_name].get('exclude_empty_str', False) - if param_name in config: + if config and param_name in config: value = config[param_name] else: value = default @@ -227,6 +233,9 @@ def read_config(self, config, validate_choices, param_name): return value + def to_json(self): + return {k: v for k, v in self.__dict__.iteritems() if v or not self.schema[k].get('omit_empty', False)} + def __eq__(self, other): return self.__dict__ == other.__dict__ @@ -558,6 +567,44 @@ def sort_key(f): return f.name +class FastlySyslogLogging(FastlyObject): + schema = { + 'name': dict(required=True, type='str'), + 'hostname': dict(required=False, type='str'), + 'port': dict(required=True, type='int'), + 'address': dict(required=True, type='str', default=None, exclude_empty_str=True), + 'format_version': dict(required=False, type='int', default=2), + 'format': dict(required=False, type='str', default='%{%Y-%m-%dT%H:%M:%S}t %h "%r" %>s %b'), + 'ipv4': dict(required=False, type='str', default=None, exclude_empty_str=True, omit_empty=True), + 'message_type': dict(required=False, type='str', default="classic", choices=['classic', 'loggly', 'logplex', 'blank', None]), + 'placement': dict(required=False, type='str', default=None), + 'response_condition': dict(required=False, type='str', default=None, exclude_empty_str=True), + 'tls_ca_cert': dict(required=False, type='str', default=None, exclude_empty_str=True), + 'tls_hostname': dict(required=False, type='str', default=None, exclude_empty_str=True), + 'token': dict(required=False, type='str', default=None), + 'use_tls': dict(required=False, type='int', default=0), + } + + def __init__(self, config, validate_choices): + self.name = self.read_config(config, validate_choices, 'name') + self.address = self.read_config(config, validate_choices, 'address') + self.format_version = self.read_config(config, validate_choices, 'format_version') + self.format = self.read_config(config, validate_choices, 'format') + self.hostname = self.read_config(config, validate_choices, 'hostname') or self.address + self.ipv4 = self.read_config(config, validate_choices, 'ipv4') + self.message_type = self.read_config(config, validate_choices, 'message_type') + self.placement = self.read_config(config, validate_choices, 'placement') + self.port = self.read_config(config, validate_choices, 'port') + self.response_condition = self.read_config(config, validate_choices, 'response_condition') + self.tls_ca_cert = self.read_config(config, validate_choices, 'tls_ca_cert') + self.tls_hostname = self.read_config(config, validate_choices, 'tls_hostname') + self.token = self.read_config(config, validate_choices, 'token') + self.use_tls = self.read_config(config, validate_choices, 'use_tls') + + def sort_key(f): + return f.name + + class FastlySettings(FastlyObject): schema = { 'general.default_ttl': dict(required=False, type='int', default=3600) @@ -586,7 +633,8 @@ def __init__(self, cfg, validate_choices=True): self.request_settings = [FastlyRequestSetting(r, validate_choices) for r in cfg.get('request_settings') or []] self.snippets = [FastlyVclSnippet(s, validate_choices) for s in cfg.get('snippets') or []] self.s3s = [FastlyS3Logging(s, validate_choices) for s in cfg.get('s3s') or []] - self.settings = FastlySettings(cfg.get('settings', dict()), validate_choices) + self.syslogs = [FastlySyslogLogging(s, validate_choices) for s in cfg.get('syslogs') or []] + self.settings = FastlySettings(cfg.get('settings'), validate_choices) def __eq__(self, other): return sorted(self.domains, key=FastlyDomain.sort_key) == sorted(other.domains, key=FastlyDomain.sort_key) \ @@ -601,6 +649,7 @@ def __eq__(self, other): and sorted(self.response_objects, key=FastlyResponseObject.sort_key) == sorted(other.response_objects, key=FastlyResponseObject.sort_key) \ and sorted(self.snippets, key=FastlyVclSnippet.sort_key) == sorted(other.snippets, key=FastlyVclSnippet.sort_key) \ and sorted(self.s3s, key=FastlyS3Logging.sort_key) == sorted(other.s3s, key=FastlyS3Logging.sort_key) \ + and sorted(self.syslogs, key=FastlySyslogLogging.sort_key) == sorted(other.syslogs, key=FastlySyslogLogging.sort_key) \ and self.settings == other.settings def __ne__(self, other): @@ -645,7 +694,6 @@ def _request(self, path, method='GET', payload=None, headers=None): body = None if payload is not None: body = json.dumps(payload, cls=FastlyObjectEncoder) - conn = httplib.HTTPSConnection(self.FASTLY_API_HOST) conn.request(method, path, body, headers) return FastlyResponse(conn.getresponse(), method, path) @@ -660,7 +708,7 @@ def clone_version(self, service_id, version_to_clone): response = self._request('/service/%s/version/%s/clone' % (urllib.quote(service_id, ''), version_to_clone), 'PUT') if response.status == 200: return response.payload - raise Exception("Could not clone version '%s' for service '%s': %s" % (version_to_clone, service_id, response.payload['detail'])) + raise Exception("Could not clone version '%s' for service '%s': %s" % (version_to_clone, service_id, response.error())) def get_service_by_name(self, service_name): response = self._request('/service/search?name=%s' % urllib.quote(service_name, '')) @@ -683,7 +731,7 @@ def create_service(self, service_name): response = self._request('/service', 'POST', {'name': service_name}) if response.status == 200: return self.get_service(response.payload['id']) - raise Exception("Error creating service with name '%s': %s" % (service_name, response.payload['detail'])) + raise Exception("Error creating service with name '%s': %s" % (service_name, response.error())) def delete_service(self, service_name, deactivate_active_version=True): service = self.get_service_by_name(service_name) @@ -694,7 +742,7 @@ def delete_service(self, service_name, deactivate_active_version=True): response = self._request('/service/%s' % urllib.quote(service.id, ''), 'DELETE') if response.status == 200: return True - raise Exception("Error deleting service with name '%s' (%s)" % (service_name, response.payload['detail'])) + raise Exception("Error deleting service with name '%s' (%s)" % (service_name, response.error())) def create_version(self, service_id): response = self._request('/service/%s/version' % urllib.quote(service_id, ''), 'POST') @@ -707,28 +755,28 @@ def activate_version(self, service_id, version): if response.status == 200: return response.payload raise Exception( - "Error activating version %s for service %s (%s)" % (version, service_id, response.payload['detail'])) + "Error activating version %s for service %s (%s)" % (version, service_id, response.error())) def deactivate_version(self, service_id, version): response = self._request('/service/%s/version/%s/deactivate' % (urllib.quote(service_id, ''), version), 'PUT') if response.status == 200: return response.payload raise Exception( - "Error deactivating version %s for service %s (%s)" % (version, service_id, response.payload['detail'])) + "Error deactivating version %s for service %s (%s)" % (version, service_id, response.error())) def get_domain_name(self, service_id, version): response = self._request('/service/%s/version/%s/domain' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving domain for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving domain for service %s, version %s (%s)" % (service_id, version, response.error())) def create_domain(self, service_id, version, domain): response = self._request('/service/%s/version/%s/domain' % (urllib.quote(service_id, ''), version), 'POST', domain) if response.status == 200: return response.payload raise Exception("Error creating domain for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_domain(self, service_id, version, domain): response = self._request('/service/%s/version/%s/domain/%s' % (urllib.quote(service_id, ''), version, urllib.quote(domain, '')), @@ -736,21 +784,21 @@ def delete_domain(self, service_id, version, domain): if response.status == 200: return response.payload raise Exception("Error deleting domain %s service %s, version %s (%s)" % (domain, service_id, version, - response.payload['detail'])) + response.error())) def get_healthcheck_name(self, service_id, version): response = self._request('/service/%s/version/%s/healthcheck' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception("Error getting healthcheck name service %s, version %s (%s)" % (service_id, version, - response.payload['detail'])) + response.error())) def create_healthcheck(self, service_id, version, healthcheck): response = self._request('/service/%s/version/%s/healthcheck' % (urllib.quote(service_id, ''), version), 'POST', healthcheck) if response.status == 200: return response.payload raise Exception("Error creating healthcheck for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_healthcheck(self, service_id, version, healthcheck): response = self._request('/service/%s/version/%s/healthcheck/%s' % (urllib.quote(service_id, ''), version, urllib.quote(healthcheck, '')), @@ -758,21 +806,21 @@ def delete_healthcheck(self, service_id, version, healthcheck): if response.status == 200: return response.payload raise Exception("Error deleting healthcheck %s service %s, version %s (%s)" % ( - healthcheck, service_id, version, response.payload['detail'])) + healthcheck, service_id, version, response.error())) def get_backend_name(self, service_id, version): response = self._request('/service/%s/version/%s/backend' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving backend for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving backend for service %s, version %s (%s)" % (service_id, version, response.error())) def create_backend(self, service_id, version, backend): response = self._request('/service/%s/version/%s/backend' % (urllib.quote(service_id, ''), version), 'POST', backend) if response.status == 200: return response.payload raise Exception("Error creating backend for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_backend(self, service_id, version, backend): response = self._request('/service/%s/version/%s/backend/%s' % (urllib.quote(service_id, ''), version, urllib.quote(backend, '')), @@ -780,20 +828,20 @@ def delete_backend(self, service_id, version, backend): if response.status == 200: return response.payload raise Exception("Error deleting backend %s service %s, version %s (%s)" % ( - backend, service_id, version, response.payload['detail'])) + backend, service_id, version, response.error())) def get_director_name(self, service_id, version): response = self._request('/service/%s/version/%s/director' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving director for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving director for service %s, version %s (%s)" % (service_id, version, response.error())) def create_director(self, service_id, version, director): response = self._request('/service/%s/version/%s/director' % (urllib.quote(service_id, ''), version), 'POST', director) if response.status != 200: raise Exception("Error creating director for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) payload = response.payload if director.backends is not None: @@ -801,7 +849,7 @@ def create_director(self, service_id, version, director): response = self._request('/service/%s/version/%s/director/%s/backend/%s' % (urllib.quote(service_id, ''), version, urllib.quote(director.name, ''), urllib.quote(backend, '')), 'POST') if response.status != 200: raise Exception("Error establishing a relationship between director %s and backend %s, service %s, version %s (%s)" % ( - director.name, backend, service_id, version, response.payload['detail'])) + director.name, backend, service_id, version, response.error())) return payload def delete_director(self, service_id, version, director): @@ -810,21 +858,21 @@ def delete_director(self, service_id, version, director): if response.status == 200: return response.payload raise Exception("Error deleting director %s service %s, version %s (%s)" % ( - director, service_id, version, response.payload['detail'])) + director, service_id, version, response.error())) def get_cache_settings_name(self, service_id, version): response = self._request('/service/%s/version/%s/cache_settings' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving cache_settings for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving cache_settings for service %s, version %s (%s)" % (service_id, version, response.error())) def create_cache_settings(self, service_id, version, cache_settings): response = self._request('/service/%s/version/%s/cache_settings' % (urllib.quote(service_id, ''), version), 'POST', cache_settings) if response.status == 200: return response.payload raise Exception("Error creating cache_settings for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_cache_settings(self, service_id, version, cache_settings): response = self._request('/service/%s/version/%s/cache_settings/%s' % (urllib.quote(service_id, ''), version, urllib.quote(cache_settings, '')), @@ -832,42 +880,42 @@ def delete_cache_settings(self, service_id, version, cache_settings): if response.status == 200: return response.payload raise Exception("Error deleting cache_settings %s service %s, version %s (%s)" % ( - cache_settings, service_id, version, response.payload['detail'])) + cache_settings, service_id, version, response.error())) def get_condition_name(self, service_id, version): response = self._request('/service/%s/version/%s/condition' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving condition for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving condition for service %s, version %s (%s)" % (service_id, version, response.error())) def create_condition(self, service_id, version, condition): response = self._request('/service/%s/version/%s/condition' % (urllib.quote(service_id, ''), version), 'POST', condition) if response.status == 200: return response.payload raise Exception("Error creating condition for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_condition(self, service_id, version, condition): response = self._request('/service/%s/version/%s/condition/%s' % (urllib.quote(service_id, ''), version, urllib.quote(condition, '')), 'DELETE') if response.status == 200: return response.payload raise Exception("Error deleting condition %s service %s, version %s (%s)" % ( - condition, service_id, version, response.payload['detail'])) + condition, service_id, version, response.error())) def get_gzip_name(self, service_id, version): response = self._request('/service/%s/version/%s/gzip' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving gzip for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving gzip for service %s, version %s (%s)" % (service_id, version, response.error())) def create_gzip(self, service_id, version, gzip): response = self._request('/service/%s/version/%s/gzip' % (urllib.quote(service_id, ''), version), 'POST', gzip) if response.status == 200: return response.payload raise Exception("Error creating gzip for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_gzip(self, service_id, version, gzip): response = self._request('/service/%s/version/%s/gzip/%s' % (urllib.quote(service_id, ''), version, urllib.quote(gzip, '')), @@ -875,35 +923,35 @@ def delete_gzip(self, service_id, version, gzip): if response.status == 200: return response.payload raise Exception("Error deleting gzip %s service %s, version %s (%s)" % ( - gzip, service_id, version, response.payload['detail'])) + gzip, service_id, version, response.error())) def get_header_name(self, service_id, version): response = self._request('/service/%s/version/%s/header' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving header for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving header for service %s, version %s (%s)" % (service_id, version, response.error())) def create_header(self, service_id, version, header): response = self._request('/service/%s/version/%s/header' % (urllib.quote(service_id, ''), version), 'POST', header) if response.status == 200: return response.payload raise Exception("Error creating header for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_header(self, service_id, version, header): response = self._request('/service/%s/version/%s/header/%s' % (urllib.quote(service_id, ''), version, urllib.quote(header, '')), 'DELETE') if response.status == 200: return response.payload - raise Exception("Error deleting header %s service %s, version %s (%s)" % (header, service_id, version, response.payload['detail'])) + raise Exception("Error deleting header %s service %s, version %s (%s)" % (header, service_id, version, response.error())) def get_request_settings_name(self, service_id, version): response = self._request('/service/%s/version/%s/request_settings' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving request_settings for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving request_settings for service %s, version %s (%s)" % (service_id, version, response.error())) def create_request_setting(self, service_id, version, request_setting): response = self._request('/service/%s/version/%s/request_settings' % (urllib.quote(service_id, ''), version), 'POST', @@ -911,7 +959,7 @@ def create_request_setting(self, service_id, version, request_setting): if response.status == 200: return response.payload raise Exception("Error creating request setting for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_request_settings(self, service_id, version, request_setting): response = self._request('/service/%s/version/%s/request_settings/%s' % (urllib.quote(service_id, ''), version, urllib.quote(request_setting, '')), @@ -919,14 +967,14 @@ def delete_request_settings(self, service_id, version, request_setting): if response.status == 200: return response.payload raise Exception("Error deleting request_setting %s service %s, version %s (%s)" % ( - request_setting, service_id, version, response.payload['detail'])) + request_setting, service_id, version, response.error())) def get_response_objects_name(self, service_id, version): response = self._request('/service/%s/version/%s/response_object' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving response_object for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving response_object for service %s, version %s (%s)" % (service_id, version, response.error())) def create_response_object(self, service_id, version, response_object): response = self._request('/service/%s/version/%s/response_object' % (urllib.quote(service_id, ''), version), 'POST', @@ -934,7 +982,7 @@ def create_response_object(self, service_id, version, response_object): if response.status == 200: return response.payload raise Exception("Error creating response object for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) def delete_response_object(self, service_id, version, response_object): response = self._request('/service/%s/version/%s/response_object/%s' % (urllib.quote(service_id, ''), version, urllib.quote(response_object, '')), @@ -942,21 +990,21 @@ def delete_response_object(self, service_id, version, response_object): if response.status == 200: return response.payload raise Exception("Error deleting response_object %s service %s, version %s (%s)" % ( - response_object, service_id, version, response.payload['detail'])) + response_object, service_id, version, response.error())) def get_vcl_snippet_name(self, service_id, version): response = self._request('/service/%s/version/%s/snippet' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving vcl snippt for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving vcl snippt for service %s, version %s (%s)" % (service_id, version, response.error())) def create_vcl_snippet(self, service_id, version, vcl_snippet): response = self._request('/service/%s/version/%s/snippet' % (urllib.quote(service_id, ''), version), 'POST', vcl_snippet) if response.status == 200: return response.payload - raise Exception("Error creating VCL snippet '%s' for service %s, version %s (%s)" % (vcl_snippet['name'], service_id, version, response.payload['detail'])) + raise Exception("Error creating VCL snippet '%s' for service %s, version %s (%s)" % (vcl_snippet['name'], service_id, version, response.error())) def delete_vcl_snippet(self, service_id, version, snippet): response = self._request('/service/%s/version/%s/snippet/%s' % (urllib.quote(service_id, ''), version, urllib.quote(snippet, '')), @@ -964,14 +1012,14 @@ def delete_vcl_snippet(self, service_id, version, snippet): if response.status == 200: return response.payload raise Exception("Error deleting vcl snippet %s service %s, version %s (%s)" % ( - snippet, service_id, version, response.payload['detail'])) + snippet, service_id, version, response.error())) def get_s3_loggers(self, service_id, version): response = self._request('/service/%s/version/%s/logging/s3' % (urllib.quote(service_id, ''), version), 'GET') if response.status == 200: return response.payload raise Exception( - "Error retrieving S3 loggers for service %s, version %s (%s)" % (service_id, version, response.payload['detail'])) + "Error retrieving S3 loggers for service %s, version %s (%s)" % (service_id, version, response.error())) def create_s3_logger(self, service_id, version, s3): response = self._request('/service/%s/version/%s/logging/s3' % (service_id, version), 'POST', s3) @@ -979,7 +1027,7 @@ def create_s3_logger(self, service_id, version, s3): if response.status == 200: return response.payload else: - raise Exception("Error creating S3 logger '%s' for service %s, version %s (%s)" % (s3.name, service_id, version, response.payload['detail'])) + raise Exception("Error creating S3 logger '%s' for service %s, version %s (%s)" % (s3.name, service_id, version, response.error())) def delete_s3_logger(self, service_id, version, s3_logger): response = self._request('/service/%s/version/%s/logging/s3/%s' % (urllib.quote(service_id, ''), version, urllib.quote(s3_logger, '')), @@ -987,14 +1035,37 @@ def delete_s3_logger(self, service_id, version, s3_logger): if response.status == 200: return response.payload raise Exception("Error deleting S3 logger %s service %s, version %s (%s)" % ( - s3_logger, service_id, version, response.payload['detail'])) + s3_logger, service_id, version, response.error())) + + def get_syslog_loggers(self, service_id, version): + response = self._request('/service/%s/version/%s/logging/syslog' % (urllib.quote(service_id, ''), version), 'GET') + if response.status == 200: + return response.payload + raise Exception( + "Error retrieving syslog loggers for service %s, version %s (%s)" % (service_id, version, response.error())) + + def create_syslog_logger(self, service_id, version, syslog): + response = self._request('/service/%s/version/%s/logging/syslog' % (service_id, version), 'POST', syslog) + + if response.status == 200: + return response.payload + else: + raise Exception("Error creating syslog logger '%s' for service %s, version %s (%s)" % (syslog.name, service_id, version, response.error())) + + def delete_syslog_logger(self, service_id, version, syslog_logger): + response = self._request('/service/%s/version/%s/logging/syslog/%s' % (urllib.quote(service_id, ''), version, urllib.quote(syslog_logger, '')), + 'DELETE') + if response.status == 200: + return response.payload + raise Exception("Error deleting syslog logger %s service %s, version %s (%s)" % ( + syslog_logger, service_id, version, response.error())) def create_settings(self, service_id, version, settings): response = self._request('/service/%s/version/%s/settings' % (urllib.quote(service_id, ''), version), 'PUT', settings) if response.status == 200: return response.payload raise Exception("Error creating settings for service %s, version %s (%s)" % ( - service_id, version, response.payload['detail'])) + service_id, version, response.error())) class FastlyStateEnforcerResult(object): @@ -1064,6 +1135,7 @@ def reset_version(self, service_id, version_to_delete): response_objects = self.client.get_response_objects_name(service_id, version_to_delete) snippets = self.client.get_vcl_snippet_name(service_id, version_to_delete) s3_loggers = self.client.get_s3_loggers(service_id, version_to_delete) + syslog_loggers = self.client.get_syslog_loggers(service_id, version_to_delete) for domain_name in domain: self.client.delete_domain(service_id, version_to_delete, domain_name['name']) @@ -1098,8 +1170,11 @@ def reset_version(self, service_id, version_to_delete): for vcl_snippet_name in snippets: self.client.delete_vcl_snippet(service_id, version_to_delete, vcl_snippet_name['name']) - for s3_logger in s3_loggers: - self.client.delete_s3_logger(service_id, version_to_delete, s3_logger['name']) + for logger in s3_loggers: + self.client.delete_s3_logger(service_id, version_to_delete, logger['name']) + + for logger in syslog_loggers: + self.client.delete_syslog_logger(service_id, version_to_delete, logger['name']) def configure_version(self, service_id, configuration, version_number): for domain in configuration.domains: @@ -1138,8 +1213,11 @@ def configure_version(self, service_id, configuration, version_number): for vcl_snippet in configuration.snippets: self.client.create_vcl_snippet(service_id, version_number, vcl_snippet) - for s3 in configuration.s3s: - self.client.create_s3_logger(service_id, version_number, s3) + for logger in configuration.s3s: + self.client.create_s3_logger(service_id, version_number, logger) + + for logger in configuration.syslogs: + self.client.create_syslog_logger(service_id, version_number, logger) if configuration.settings: self.client.create_settings(service_id, version_number, configuration.settings) @@ -1180,6 +1258,7 @@ def __init__(self): response_objects=dict(default=None, required=False, type='list'), vcl_snippets=dict(default=None, required=False, type='list'), s3s=dict(default=None, required=False, type='list'), + syslogs=dict(default=None, required=False, type='list'), settings=dict(default=None, required=False, type='dict'), ), supports_check_mode=False @@ -1209,12 +1288,13 @@ def configuration(self): 'response_objects': self.module.params['response_objects'], 'snippets': self.module.params['vcl_snippets'], 's3s': self.module.params['s3s'], + 'syslogs': self.module.params['syslogs'], 'settings': self.module.params['settings'] }) except FastlyValidationError as err: self.module.fail_json(msg='Error in ' + err.cls + ': ' + err.message) except Exception as err: - self.module.fail_json(msg=err.message) + self.module.fail_json(msg=err.message, trace=traceback.format_exc()) def run(self): try: @@ -1235,7 +1315,7 @@ def run(self): self.module.exit_json(changed=result.changed, service_id=result.service.id, actions=result.actions) except Exception as err: - self.module.fail_json(msg=err.message) + self.module.fail_json(msg=err.message, trace=traceback.format_exc()) def main(): diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml index d1c7b3a..2a420f1 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml @@ -6,33 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":""}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":""}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['918'] + content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:11 GMT'] + date: ['Wed, 30 May 2018 15:01:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630191.996520,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692486.161424,VS0,VE182'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/details + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -40,48 +40,48 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4425'] + content-length: ['4193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:11 GMT'] + date: ['Wed, 30 May 2018 15:01:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630191.216085,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692486.401075,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/deactivate + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:11 GMT'] - fastly-ratelimit-remaining: ['956'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:27 GMT'] + fastly-ratelimit-remaining: ['991'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630191.399244,VS0,VE547'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692487.575606,VS0,VE491'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:12 GMT'] - fastly-ratelimit-remaining: ['955'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:27 GMT'] + fastly-ratelimit-remaining: ['990'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630192.028156,VS0,VE389'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692487.125148,VS0,VE144'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml index 4fe9a6b..0000b15 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings.yml @@ -6,106 +6,102 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:39:06Z","active":true,"number":2,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:39:00Z","comment":""}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['455'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:57 GMT'] + date: ['Wed, 30 May 2018 15:01:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630177.294302,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692475.622439,VS0,VE387'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/details + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:06Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:39:06Z","active":true,"number":2,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:39:00Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:39:06Z","active":true,"number":2,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:39:00Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T14:42:41Z","active":false,"number":1,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T14:42:41Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['3993'] + content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:58 GMT'] + date: ['Wed, 30 May 2018 15:01:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630178.796532,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692475.066603,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/2/clone + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:06Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:58 GMT'] - fastly-ratelimit-remaining: ['968'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:15 GMT'] + fastly-ratelimit-remaining: ['999'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630178.288710,VS0,VE283'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692475.278761,VS0,VE479'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/domain + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","created_at":"2018-05-29T21:39:03Z","comment":"","updated_at":"2018-05-29T21:39:03Z"}]'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['181'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:59 GMT'] + date: ['Wed, 30 May 2018 15:01:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630179.646402,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692476.816537,VS0,VE408'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/healthcheck + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +111,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:59 GMT'] + date: ['Wed, 30 May 2018 15:01:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630179.129173,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692476.282550,VS0,VE391'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/condition + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,45 +135,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:42:59 GMT'] + date: ['Wed, 30 May 2018 15:01:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630180.571617,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692477.731243,VS0,VE450'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/backend + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/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:39:04Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:39:04Z","comment":""}]'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['718'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:00 GMT'] + date: ['Wed, 30 May 2018 15:01:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630180.015519,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692477.238386,VS0,VE424'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/director + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +183,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:01 GMT'] + date: ['Wed, 30 May 2018 15:01:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630181.511347,VS0,VE942'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692478.719822,VS0,VE408'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/cache_settings + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +207,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:01 GMT'] + date: ['Wed, 30 May 2018 15:01:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630182.527026,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692478.192475,VS0,VE405'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/gzip + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,46 +231,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:02 GMT'] + date: ['Wed, 30 May 2018 15:01:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630182.979240,VS0,VE374'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692479.653690,VS0,VE165'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/header + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"5RPRT0ug3oh6PWUBXrjSAH","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:39:04Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:39:04Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['415'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:02 GMT'] + date: ['Wed, 30 May 2018 15:01:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630182.424089,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692479.875914,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/request_settings + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,46 +279,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:02 GMT'] + date: ['Wed, 30 May 2018 15:01:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630183.615324,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692479.063941,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/response_object + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/response_object response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","cache_condition":"","created_at":"2018-05-29T21:39:05Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:39:05Z"}]'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['280'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:03 GMT'] + date: ['Wed, 30 May 2018 15:01:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630183.064580,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692479.247668,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/snippet + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +327,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:03 GMT'] + date: ['Wed, 30 May 2018 15:01:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630183.257873,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692480.715783,VS0,VE391'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/logging/s3 + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,168 +351,92 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:03 GMT'] + date: ['Wed, 30 May 2018 15:01:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630184.695888,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692480.163848,VS0,VE388'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/domain/example8000.com - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:04 GMT'] - fastly-ratelimit-remaining: ['967'] - fastly-ratelimit-reset: ['1527631200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630184.890099,VS0,VE416'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/backend/localhost - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:04 GMT'] - fastly-ratelimit-remaining: ['966'] - fastly-ratelimit-reset: ['1527631200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630184.379779,VS0,VE426'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/header/Set%20Location%20header - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:05 GMT'] - fastly-ratelimit-remaining: ['965'] - fastly-ratelimit-reset: ['1527631200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630185.882794,VS0,VE412'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: DELETE - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/response_object/Set%20200%20status%20code + method: GET + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/logging/syslog response: - body: {string: !!python/unicode '{"status":"ok"}'} + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['15'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:05 GMT'] - fastly-ratelimit-remaining: ['964'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630185.369529,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692481.602482,VS0,VE408'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/domain + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":3,"deleted_at":null,"created_at":"2018-05-29T21:43:06Z","updated_at":"2018-05-29T21:43:06Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5Uofg7tBxthwFe9v68mLyq","version":2,"deleted_at":null,"created_at":"2018-05-30T15:01:21Z","updated_at":"2018-05-30T15:01:21Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:06 GMT'] - fastly-ratelimit-remaining: ['963'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:21 GMT'] + fastly-ratelimit-remaining: ['998'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630186.873248,VS0,VE436'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692481.068886,VS0,VE666'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/backend + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:06Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:06Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5Uofg7tBxthwFe9v68mLyq","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:21Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:21Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:06 GMT'] - fastly-ratelimit-remaining: ['962'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:21 GMT'] + fastly-ratelimit-remaining: ['997'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630186.385770,VS0,VE476'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692482.793010,VS0,VE175'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": null, "stale_ttl": 10, "name": "cache-settings-config-name", @@ -526,54 +444,54 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/cache_settings + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/cache_settings response: - body: {string: !!python/unicode '{"action":null,"stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-05-29T21:43:07Z","updated_at":"2018-05-29T21:43:07Z"}'} + body: {string: !!python/unicode '{"action":null,"stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"5Uofg7tBxthwFe9v68mLyq","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-30T15:01:22Z","updated_at":"2018-05-30T15:01:22Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['240'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:07 GMT'] - fastly-ratelimit-remaining: ['961'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:22 GMT'] + fastly-ratelimit-remaining: ['996'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630187.937021,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692482.026096,VS0,VE465'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/header + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":"3","updated_at":"2018-05-29T21:43:07Z","deleted_at":null,"created_at":"2018-05-29T21:43:07Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5Uofg7tBxthwFe9v68mLyq","version":"2","updated_at":"2018-05-30T15:01:22Z","deleted_at":null,"created_at":"2018-05-30T15:01:22Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:07 GMT'] - fastly-ratelimit-remaining: ['960'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:22 GMT'] + fastly-ratelimit-remaining: ['995'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630187.407323,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692483.548890,VS0,VE148'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -581,87 +499,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/response_object + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"5RPRT0ug3oh6PWUBXrjSAH","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:08Z","updated_at":"2018-05-29T21:43:08Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"5Uofg7tBxthwFe9v68mLyq","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:23Z","updated_at":"2018-05-30T15:01:23Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:08 GMT'] - fastly-ratelimit-remaining: ['959'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:23 GMT'] + fastly-ratelimit-remaining: ['994'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630188.911529,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692483.756067,VS0,VE429'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/settings + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"5RPRT0ug3oh6PWUBXrjSAH"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5Uofg7tBxthwFe9v68mLyq"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:08 GMT'] - fastly-ratelimit-remaining: ['958'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:23 GMT'] + fastly-ratelimit-remaining: ['993'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630188.389108,VS0,VE130'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692483.243438,VS0,VE179'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/version/3/activate + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:08Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:23Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:09 GMT'] - fastly-ratelimit-remaining: ['957'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:25 GMT'] + fastly-ratelimit-remaining: ['992'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630189.594701,VS0,VE1191'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692483.480252,VS0,VE1572'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/details + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -669,16 +587,16 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4425'] + content-length: ['4193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:10 GMT'] + date: ['Wed, 30 May 2018 15:01:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630190.860836,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692485.109726,VS0,VE151'] status: {code: 200, message: OK} - request: body: null @@ -687,33 +605,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":""}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":""}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['918'] + content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:10 GMT'] + date: ['Wed, 30 May 2018 15:01:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630190.076405,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692485.318831,VS0,VE141'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/details + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -721,27 +639,27 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4425'] + content-length: ['4193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:10 GMT'] + date: ['Wed, 30 May 2018 15:01:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630191.593971,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692486.517862,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5RPRT0ug3oh6PWUBXrjSAH/details + uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:39:00Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:39:00Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","staging":false,"created_at":"2018-05-29T21:42:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:09Z","deployed":false}],"created_at":"2018-05-29T21:39:00Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:39:00Z","id":"5RPRT0ug3oh6PWUBXrjSAH","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:09Z","active":true,"number":3,"service_id":"5RPRT0ug3oh6PWUBXrjSAH","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:42:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -749,15 +667,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4425'] + content-length: ['4193'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:10 GMT'] + date: ['Wed, 30 May 2018 15:01:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630191.787009,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692486.694265,VS0,VE386'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml index c1b757a..8252db9 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_with_action.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:12 GMT'] + date: ['Wed, 30 May 2018 15:01:27 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630193.509213,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692487.332638,VS0,VE118'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"7c898e2ffb971351353c684893809007f4235f34","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:43:13Z","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + Ansible Module Test","publish_key":"0edf6ad96bd2dea975b23e0d5bdc7270667c8aa0","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:01:27Z","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:13 GMT'] - fastly-ratelimit-remaining: ['954'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:27 GMT'] + fastly-ratelimit-remaining: ['989'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630193.702191,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692488.510956,VS0,VE441'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:13Z","active":false,"number":1,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:43:13Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:27Z","active":false,"number":1,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:01:27Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:13 GMT'] + date: ['Wed, 30 May 2018 15:01:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630193.257057,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692488.011410,VS0,VE163'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/1/clone + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:14 GMT'] - fastly-ratelimit-remaining: ['953'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:28 GMT'] + fastly-ratelimit-remaining: ['988'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630194.769556,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692488.235158,VS0,VE490'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:14 GMT'] + date: ['Wed, 30 May 2018 15:01:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630194.290587,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692489.780771,VS0,VE384'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/healthcheck + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:15 GMT'] + date: ['Wed, 30 May 2018 15:01:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630195.726105,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692489.213253,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/condition + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:15 GMT'] + date: ['Wed, 30 May 2018 15:01:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630195.158800,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692489.391754,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:15 GMT'] + date: ['Wed, 30 May 2018 15:01:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630196.610762,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692490.579285,VS0,VE408'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/director + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:16 GMT'] + date: ['Wed, 30 May 2018 15:01:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630196.052901,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692490.043036,VS0,VE383'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/cache_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:16 GMT'] + date: ['Wed, 30 May 2018 15:01:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630196.244778,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692490.485932,VS0,VE382'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/gzip + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:16 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630196.434761,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692491.920540,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:16 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630197.625886,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692491.099935,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/request_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:16 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630197.849942,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692491.275254,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:17 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630197.044051,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692491.451964,VS0,VE162'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/snippet + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:17 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630198.534183,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692492.668046,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/logging/s3 + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,68 +378,92 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:17 GMT'] + date: ['Wed, 30 May 2018 15:01:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630198.719993,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692492.849646,VS0,VE127'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:01:32 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692492.033505,VS0,VE395'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2ElZpLWBqaLapYb4nPpjID","version":2,"deleted_at":null,"created_at":"2018-05-29T21:43:18Z","updated_at":"2018-05-29T21:43:18Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2Yozki6zPwppbu2BgGnY85","version":2,"deleted_at":null,"created_at":"2018-05-30T15:01:32Z","updated_at":"2018-05-30T15:01:32Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:18 GMT'] - fastly-ratelimit-remaining: ['952'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:32 GMT'] + fastly-ratelimit-remaining: ['987'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630198.913100,VS0,VE455'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692492.478934,VS0,VE220'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:18Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:18Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:33Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:33Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:18 GMT'] - fastly-ratelimit-remaining: ['951'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:33 GMT'] + fastly-ratelimit-remaining: ['986'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630198.444695,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692493.754171,VS0,VE438'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": "pass", "stale_ttl": 10, "name": "cache-settings-config-name", @@ -447,54 +471,54 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/cache_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/cache_settings response: - body: {string: !!python/unicode '{"action":"pass","stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-29T21:43:19Z","updated_at":"2018-05-29T21:43:19Z"}'} + body: {string: !!python/unicode '{"action":"pass","stale_ttl":10,"name":"cache-settings-config-name","cache_condition":"","service_id":"2Yozki6zPwppbu2BgGnY85","version":"2","ttl":null,"deleted_at":null,"created_at":"2018-05-30T15:01:33Z","updated_at":"2018-05-30T15:01:33Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['242'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:19 GMT'] - fastly-ratelimit-remaining: ['950'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:33 GMT'] + fastly-ratelimit-remaining: ['985'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630199.932194,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692493.249399,VS0,VE445'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":"2","updated_at":"2018-05-29T21:43:19Z","deleted_at":null,"created_at":"2018-05-29T21:43:19Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":"2","updated_at":"2018-05-30T15:01:34Z","deleted_at":null,"created_at":"2018-05-30T15:01:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:19 GMT'] - fastly-ratelimit-remaining: ['949'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:34 GMT'] + fastly-ratelimit-remaining: ['984'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630199.148569,VS0,VE149'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692494.749980,VS0,VE466'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -502,87 +526,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:19Z","updated_at":"2018-05-29T21:43:19Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2Yozki6zPwppbu2BgGnY85","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:34Z","updated_at":"2018-05-30T15:01:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:19 GMT'] - fastly-ratelimit-remaining: ['948'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:34 GMT'] + fastly-ratelimit-remaining: ['983'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630199.372114,VS0,VE389'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692494.273897,VS0,VE420'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:20 GMT'] - fastly-ratelimit-remaining: ['947'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:35 GMT'] + fastly-ratelimit-remaining: ['982'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630200.838435,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692495.753619,VS0,VE463'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/activate + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:19Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:34Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:20 GMT'] - fastly-ratelimit-remaining: ['946'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:36 GMT'] + fastly-ratelimit-remaining: ['981'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630200.332424,VS0,VE650'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692495.266733,VS0,VE1320'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -592,14 +616,14 @@ interactions: connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:21 GMT'] + date: ['Wed, 30 May 2018 15:01:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630201.057266,VS0,VE143'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692497.638442,VS0,VE152'] status: {code: 200, message: OK} - request: body: null @@ -608,7 +632,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -616,25 +640,25 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:21 GMT'] + date: ['Wed, 30 May 2018 15:01:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630201.278349,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692497.849892,VS0,VE144'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -644,25 +668,25 @@ interactions: connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:21 GMT'] + date: ['Wed, 30 May 2018 15:01:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630201.495782,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692497.051168,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -672,13 +696,13 @@ interactions: connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:21 GMT'] + date: ['Wed, 30 May 2018 15:01:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630202.728371,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692497.225824,VS0,VE124'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml index 8e93f40..0b46ca2 100644 --- a/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml +++ b/tests/fixtures/cassettes/TestFastlyCacheSettings_test_fastly_cache_settings_without_stale_ttl.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:22 GMT'] + date: ['Wed, 30 May 2018 15:01:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630202.982744,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692497.470527,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:20Z","active":true,"number":2,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:36Z","active":true,"number":2,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:28Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":"pass","cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -42,48 +42,48 @@ interactions: connection: [keep-alive] content-length: ['4197'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:22 GMT'] + date: ['Wed, 30 May 2018 15:01:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630202.200126,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692498.678836,VS0,VE161'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/2/clone + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:20Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:36Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:22 GMT'] - fastly-ratelimit-remaining: ['945'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:38 GMT'] + fastly-ratelimit-remaining: ['980'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630202.382328,VS0,VE455'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692498.901066,VS0,VE485'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","created_at":"2018-05-29T21:43:18Z","comment":"","updated_at":"2018-05-29T21:43:18Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","created_at":"2018-05-30T15:01:32Z","comment":"","updated_at":"2018-05-30T15:01:32Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +91,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:23 GMT'] + date: ['Wed, 30 May 2018 15:01:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630203.913589,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692498.441807,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/healthcheck + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +115,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:23 GMT'] + date: ['Wed, 30 May 2018 15:01:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630203.100291,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692499.620973,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/condition + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/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, 29 May 2018 21:43:23 GMT'] + date: ['Wed, 30 May 2018 15:01:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630203.328594,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692499.090899,VS0,VE383'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:43:18Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:43:18Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:01:33Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:01:33Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +163,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:23 GMT'] + date: ['Wed, 30 May 2018 15:01:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630204.514114,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692500.530752,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/director + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,23 +187,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:24 GMT'] + date: ['Wed, 30 May 2018 15:01:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630204.955810,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692500.005756,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/cache_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/cache_settings response: - body: {string: !!python/unicode '[{"stale_ttl":"10","version":"3","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:19Z","action":"pass","updated_at":"2018-05-29T21:43:19Z"}]'} + body: {string: !!python/unicode '[{"stale_ttl":"10","version":"3","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:33Z","action":"pass","updated_at":"2018-05-30T15:01:33Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -211,21 +211,21 @@ interactions: connection: [keep-alive] content-length: ['246'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:24 GMT'] + date: ['Wed, 30 May 2018 15:01:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630204.439673,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692500.473714,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/gzip + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/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, 29 May 2018 21:43:25 GMT'] + date: ['Wed, 30 May 2018 15:01:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630205.878218,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692501.696396,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"2ElZpLWBqaLapYb4nPpjID","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:43:19Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:43:19Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"2Yozki6zPwppbu2BgGnY85","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:01:34Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:01:34Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +260,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:25 GMT'] + date: ['Wed, 30 May 2018 15:01:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630205.357292,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692501.884155,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/request_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/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, 29 May 2018 21:43:25 GMT'] + date: ['Wed, 30 May 2018 15:01:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630206.539607,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692501.065049,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:19Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:43:19Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:34Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:01:34Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +309,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:25 GMT'] + date: ['Wed, 30 May 2018 15:01:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630206.719285,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692501.243128,VS0,VE158'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/snippet + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +333,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:26 GMT'] + date: ['Wed, 30 May 2018 15:01:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630206.905040,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692501.461001,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/logging/s3 + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +357,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:26 GMT'] + date: ['Wed, 30 May 2018 15:01:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630206.127400,VS0,VE376'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692502.644354,VS0,VE131'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:01:41 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692502.834341,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/domain/example8000.com + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +404,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:26 GMT'] - fastly-ratelimit-remaining: ['944'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:42 GMT'] + fastly-ratelimit-remaining: ['979'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630207.631252,VS0,VE316'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692502.007633,VS0,VE452'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/backend/localhost + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/backend/localhost 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, 29 May 2018 21:43:27 GMT'] - fastly-ratelimit-remaining: ['943'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:42 GMT'] + fastly-ratelimit-remaining: ['978'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630207.022662,VS0,VE495'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692503.518419,VS0,VE184'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/cache_settings/cache-settings-config-name + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/cache_settings/cache-settings-config-name response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +454,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:27 GMT'] - fastly-ratelimit-remaining: ['942'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:42 GMT'] + fastly-ratelimit-remaining: ['977'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630208.592487,VS0,VE214'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692503.757717,VS0,VE212'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,23 +479,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:28 GMT'] - fastly-ratelimit-remaining: ['941'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:43 GMT'] + fastly-ratelimit-remaining: ['976'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630208.883270,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692503.026151,VS0,VE439'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -480,70 +504,70 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:28 GMT'] - fastly-ratelimit-remaining: ['940'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:44 GMT'] + fastly-ratelimit-remaining: ['975'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630208.384157,VS0,VE511'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692504.532938,VS0,VE503'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2ElZpLWBqaLapYb4nPpjID","version":3,"deleted_at":null,"created_at":"2018-05-29T21:43:29Z","updated_at":"2018-05-29T21:43:29Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2Yozki6zPwppbu2BgGnY85","version":3,"deleted_at":null,"created_at":"2018-05-30T15:01:44Z","updated_at":"2018-05-30T15:01:44Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:29 GMT'] - fastly-ratelimit-remaining: ['939'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:44 GMT'] + fastly-ratelimit-remaining: ['974'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630209.969415,VS0,VE486'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692504.092414,VS0,VE473'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:29Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:29Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:44Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:44Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:29 GMT'] - fastly-ratelimit-remaining: ['938'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:45 GMT'] + fastly-ratelimit-remaining: ['973'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630210.530578,VS0,VE235'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692505.623280,VS0,VE430'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"action": null, "stale_ttl": 0, "name": "cache-settings-config-name", @@ -551,54 +575,54 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/cache_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/cache_settings response: - body: {string: !!python/unicode '{"action":null,"stale_ttl":0,"name":"cache-settings-config-name","cache_condition":"","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-05-29T21:43:30Z","updated_at":"2018-05-29T21:43:30Z"}'} + body: {string: !!python/unicode '{"action":null,"stale_ttl":0,"name":"cache-settings-config-name","cache_condition":"","service_id":"2Yozki6zPwppbu2BgGnY85","version":"3","ttl":null,"deleted_at":null,"created_at":"2018-05-30T15:01:45Z","updated_at":"2018-05-30T15:01:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['239'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:30 GMT'] - fastly-ratelimit-remaining: ['937'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:45 GMT'] + fastly-ratelimit-remaining: ['972'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630210.840279,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692505.115326,VS0,VE413'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":"3","updated_at":"2018-05-29T21:43:30Z","deleted_at":null,"created_at":"2018-05-29T21:43:30Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":"3","updated_at":"2018-05-30T15:01:45Z","deleted_at":null,"created_at":"2018-05-30T15:01:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:30 GMT'] - fastly-ratelimit-remaining: ['936'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:46 GMT'] + fastly-ratelimit-remaining: ['971'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630210.313228,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692506.586420,VS0,VE454'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -606,87 +630,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:31Z","updated_at":"2018-05-29T21:43:31Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2Yozki6zPwppbu2BgGnY85","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:46Z","updated_at":"2018-05-30T15:01:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:31 GMT'] - fastly-ratelimit-remaining: ['935'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:46 GMT'] + fastly-ratelimit-remaining: ['970'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630211.830051,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692506.099715,VS0,VE427'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:31 GMT'] - fastly-ratelimit-remaining: ['934'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:47 GMT'] + fastly-ratelimit-remaining: ['969'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630211.316997,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692507.586797,VS0,VE470'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/activate + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:31Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:46Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:32 GMT'] - fastly-ratelimit-remaining: ['933'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:48 GMT'] + fastly-ratelimit-remaining: ['968'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630212.802475,VS0,VE835'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692507.115266,VS0,VE933'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -696,14 +720,14 @@ interactions: connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:33 GMT'] + date: ['Wed, 30 May 2018 15:01:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630213.711961,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692508.106112,VS0,VE154'] status: {code: 200, message: OK} - request: body: null @@ -712,33 +736,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:33 GMT'] + date: ['Wed, 30 May 2018 15:01:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630213.179149,VS0,VE399'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692508.318830,VS0,VE180'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -748,41 +771,40 @@ interactions: connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:33 GMT'] + date: ['Wed, 30 May 2018 15:01:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630214.650810,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692509.558972,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:33 GMT'] + date: ['Wed, 30 May 2018 15:01:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630214.843061,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692509.744621,VS0,VE164'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml b/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml index b49d5a7..a10f75e 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_tearDown.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","comment":""}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","comment":""}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,26 +14,26 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:10 GMT'] + date: ['Wed, 30 May 2018 15:04:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630371.813537,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692647.451861,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} @@ -44,46 +44,46 @@ interactions: connection: [keep-alive] content-length: ['4463'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:11 GMT'] + date: ['Wed, 30 May 2018 15:04:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630371.025330,VS0,VE550'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692648.652508,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/deactivate + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:12 GMT'] - fastly-ratelimit-remaining: ['785'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:08 GMT'] + fastly-ratelimit-remaining: ['820'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630372.742156,VS0,VE494'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692648.830561,VS0,VE504'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6 + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4 response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -92,15 +92,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:12 GMT'] - fastly-ratelimit-remaining: ['784'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:08 GMT'] + fastly-ratelimit-remaining: ['819'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527630372.314582,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692648.393156,VS0,VE425'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml index ea5a703..c8369e2 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_cache_condition.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":""}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":""}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,76 +14,75 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:00 GMT'] + date: ['Wed, 30 May 2018 15:03:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630360.474722,VS0,VE388'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692638.540204,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:01 GMT'] + date: ['Wed, 30 May 2018 15:03:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630361.942704,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692638.744660,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/clone + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:01 GMT'] - fastly-ratelimit-remaining: ['797'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:58 GMT'] + fastly-ratelimit-remaining: ['832'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630361.372269,VS0,VE482'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692638.961375,VS0,VE479'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/domain + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","created_at":"2018-05-29T21:43:54Z","comment":"","updated_at":"2018-05-29T21:43:54Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","created_at":"2018-05-30T15:02:06Z","comment":"","updated_at":"2018-05-30T15:02:06Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:02 GMT'] + date: ['Wed, 30 May 2018 15:03:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630362.926571,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692638.495906,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/healthcheck + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:02 GMT'] + date: ['Wed, 30 May 2018 15:03:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630362.116646,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692639.685563,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/condition + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:02 GMT'] + date: ['Wed, 30 May 2018 15:03:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630363.555372,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692639.856385,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/backend + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:43:54Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:43:54Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:06Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:06Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:03 GMT'] + date: ['Wed, 30 May 2018 15:03:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630363.738299,VS0,VE373'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692639.043051,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/director + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:03 GMT'] + date: ['Wed, 30 May 2018 15:03:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630363.184329,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692639.241945,VS0,VE430'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/cache_settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:03 GMT'] + date: ['Wed, 30 May 2018 15:03:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630363.369586,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692640.730850,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/gzip + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:03 GMT'] + date: ['Wed, 30 May 2018 15:04:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630364.562125,VS0,VE358'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692640.914850,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/header + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"2tI8MfAHvk4zqv70RFDCq6","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:43:54Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:43:54Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"3C4FPwHsDEzBLF43Z63Ql4","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:07Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:07Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:04 GMT'] + date: ['Wed, 30 May 2018 15:04:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630364.991911,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692640.093270,VS0,VE402'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/request_settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:04 GMT'] + date: ['Wed, 30 May 2018 15:04:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630364.473279,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692641.552824,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/response_object + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","cache_condition":"","created_at":"2018-05-29T21:43:55Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:43:55Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","cache_condition":"","created_at":"2018-05-30T15:02:08Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:08Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,45 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:04 GMT'] + date: ['Wed, 30 May 2018 15:04:00 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692641.780807,VS0,VE130'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04: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-ams4126-AMS'] - x-timer: ['S1527630365.658912,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692641.968692,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/snippet + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:04 GMT'] + date: ['Wed, 30 May 2018 15:04:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630365.853810,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692641.157558,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/logging/s3 + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +380,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:05 GMT'] + date: ['Wed, 30 May 2018 15:04:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630365.045941,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692641.342576,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/domain/example8000.com + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:05 GMT'] - fastly-ratelimit-remaining: ['796'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:02 GMT'] + fastly-ratelimit-remaining: ['831'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630365.233026,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692642.810516,VS0,VE191'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/backend/localhost + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:05 GMT'] - fastly-ratelimit-remaining: ['795'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:02 GMT'] + fastly-ratelimit-remaining: ['830'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630365.463343,VS0,VE162'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692642.059797,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:06 GMT'] - fastly-ratelimit-remaining: ['794'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:03 GMT'] + fastly-ratelimit-remaining: ['829'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630366.701986,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692643.591248,VS0,VE488'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,41 +478,41 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:06 GMT'] - fastly-ratelimit-remaining: ['793'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:03 GMT'] + fastly-ratelimit-remaining: ['828'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630366.214361,VS0,VE419'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692643.138580,VS0,VE182'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/domain + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":3,"deleted_at":null,"created_at":"2018-05-29T21:46:07Z","updated_at":"2018-05-29T21:46:07Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:03Z","updated_at":"2018-05-30T15:04:03Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:07 GMT'] - fastly-ratelimit-remaining: ['792'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:03 GMT'] + fastly-ratelimit-remaining: ['827'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630367.708004,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692643.381125,VS0,VE528'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "priority": "0", "type": "CACHE", "name": @@ -497,84 +520,85 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/condition + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/condition response: body: {string: !!python/unicode '{"comment":"","priority":"0","type":"CACHE","name":"condition-name","statement":"req.url - ~ \"^/some_asset.js\"","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"3","deleted_at":null,"created_at":"2018-05-29T21:46:07Z","updated_at":"2018-05-29T21:46:07Z"}'} + ~ \"^/some_asset.js\"","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"3","deleted_at":null,"created_at":"2018-05-30T15:04:04Z","updated_at":"2018-05-30T15:04:04Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['254'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:07 GMT'] - fastly-ratelimit-remaining: ['791'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:04 GMT'] + fastly-ratelimit-remaining: ['826'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630367.218601,VS0,VE381'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692644.963500,VS0,VE138'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/backend + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:08Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:08Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:04Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:04Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:08 GMT'] - fastly-ratelimit-remaining: ['790'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:04 GMT'] + fastly-ratelimit-remaining: ['825'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630368.669887,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692644.161311,VS0,VE459'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set cache control header", "src": "\"public, max-age=86400\"", - "dst": "http.Cache-Control", "substitution": "", "priority": "100", "cache_condition": - "condition-name", "action": "set", "type": "cache", "response_condition": null}' + "dst": "http.Cache-Control", "cache_condition": "condition-name", "priority": + "100", "substitution": "", "action": "set", "type": "cache", "response_condition": + null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/header + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - cache control header","src":"\"public, max-age=86400\"","dst":"http.Cache-Control","substitution":"","priority":"100","cache_condition":"condition-name","action":"set","type":"cache","response_condition":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"3","updated_at":"2018-05-29T21:46:08Z","deleted_at":null,"created_at":"2018-05-29T21:46:08Z"}'} + cache control header","src":"\"public, max-age=86400\"","dst":"http.Cache-Control","cache_condition":"condition-name","priority":"100","substitution":"","action":"set","type":"cache","response_condition":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"3","updated_at":"2018-05-30T15:04:04Z","deleted_at":null,"created_at":"2018-05-30T15:04:04Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['420'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:08 GMT'] - fastly-ratelimit-remaining: ['789'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:04 GMT'] + fastly-ratelimit-remaining: ['824'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630368.175617,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692645.684502,VS0,VE162'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -582,88 +606,88 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/response_object + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:08Z","updated_at":"2018-05-29T21:46:08Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:05Z","updated_at":"2018-05-30T15:04:05Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:09 GMT'] - fastly-ratelimit-remaining: ['788'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:05 GMT'] + fastly-ratelimit-remaining: ['823'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630369.653503,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692645.904663,VS0,VE418'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2tI8MfAHvk4zqv70RFDCq6"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:09 GMT'] - fastly-ratelimit-remaining: ['787'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:05 GMT'] + fastly-ratelimit-remaining: ['822'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630369.121436,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692645.374042,VS0,VE475'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/3/activate + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:08Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:05Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:10 GMT'] - fastly-ratelimit-remaining: ['786'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:06 GMT'] + fastly-ratelimit-remaining: ['821'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630370.630170,VS0,VE845'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692646.901089,VS0,VE962'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:46:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:10Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:03:58Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:06Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:10Z","active":true,"number":3,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:01Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:06Z","active":true,"number":3,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:58Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/some_asset.js\"","comment":"","name":"condition-name","type":"CACHE"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"public, max-age=86400\"","name":"Set cache control header","substitution":"","ignore_if_set":"0","cache_condition":"condition-name","request_condition":null,"regex":"","response_condition":null,"action":"set","type":"cache","dst":"http.Cache-Control"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} @@ -674,13 +698,13 @@ interactions: connection: [keep-alive] content-length: ['4463'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:10 GMT'] + date: ['Wed, 30 May 2018 15:04:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630371.563176,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692647.920039,VS0,VE441'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml index 4885145..fa9a604 100644 --- a/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml +++ b/tests/fixtures/cassettes/TestFastlyCondition_test_fastly_request_condition.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:12 GMT'] + date: ['Wed, 30 May 2018 15:04:09 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630373.823484,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692649.887070,VS0,VE121'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"d9f3ba5a7927406e8e54f286e3e631d76241270c","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:46:13Z","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} + Ansible Module Test","publish_key":"74249aea9df72835bd28b4b803a11e9137d1d5e4","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:04:09Z","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:13 GMT'] - fastly-ratelimit-remaining: ['783'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:09 GMT'] + fastly-ratelimit-remaining: ['818'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630373.039338,VS0,VE199'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692649.065077,VS0,VE434'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:13Z","active":false,"number":1,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:46:13Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:09Z","active":false,"number":1,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:04:09Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:13 GMT'] + date: ['Wed, 30 May 2018 15:04:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630373.311192,VS0,VE483'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692650.556413,VS0,VE156'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/1/clone + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:14 GMT'] - fastly-ratelimit-remaining: ['782'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:10 GMT'] + fastly-ratelimit-remaining: ['817'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630374.867757,VS0,VE526'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692650.765400,VS0,VE484'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/domain + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:14 GMT'] + date: ['Wed, 30 May 2018 15:04:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630374.466023,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692650.306067,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/healthcheck + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:14 GMT'] + date: ['Wed, 30 May 2018 15:04:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630375.678709,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692650.483855,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/condition + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:15 GMT'] + date: ['Wed, 30 May 2018 15:04:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630375.904400,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692651.657057,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/backend + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:15 GMT'] + date: ['Wed, 30 May 2018 15:04:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630375.389230,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692651.835050,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/director + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:16 GMT'] + date: ['Wed, 30 May 2018 15:04:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630376.833639,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692651.305745,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/cache_settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:16 GMT'] + date: ['Wed, 30 May 2018 15:04:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630376.275824,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692652.752603,VS0,VE133'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/gzip + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:16 GMT'] + date: ['Wed, 30 May 2018 15:04:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630376.458514,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692652.941967,VS0,VE405'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/header + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:17 GMT'] + date: ['Wed, 30 May 2018 15:04:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630377.649188,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692652.401241,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/request_settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:17 GMT'] + date: ['Wed, 30 May 2018 15:04:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630377.089522,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692653.574692,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/response_object + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:17 GMT'] + date: ['Wed, 30 May 2018 15:04:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630377.273964,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692653.040233,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/snippet + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:18 GMT'] + date: ['Wed, 30 May 2018 15:04:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630378.762429,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692653.224468,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/logging/s3 + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,39 +378,63 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:18 GMT'] + date: ['Wed, 30 May 2018 15:04:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630378.247771,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692653.410014,VS0,VE115'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04: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-fra19149-FRA'] + x-timer: ['S1527692654.583405,VS0,VE128'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/domain + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5VLquy0RjmswddaW2ZC2d6","version":2,"deleted_at":null,"created_at":"2018-05-29T21:46:19Z","updated_at":"2018-05-29T21:46:19Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5UWEX3jgaUsS3pS44aBblN","version":2,"deleted_at":null,"created_at":"2018-05-30T15:04:13Z","updated_at":"2018-05-30T15:04:13Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:19 GMT'] - fastly-ratelimit-remaining: ['781'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:13 GMT'] + fastly-ratelimit-remaining: ['816'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630379.687586,VS0,VE454'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692654.768374,VS0,VE197'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "priority": "0", "type": "REQUEST", "name": @@ -418,84 +442,84 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/condition + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/condition response: body: {string: !!python/unicode '{"comment":"","priority":"0","type":"REQUEST","name":"condition-name","statement":"req.url - ~ \"^/robots.txt\"","service_id":"5VLquy0RjmswddaW2ZC2d6","version":"2","deleted_at":null,"created_at":"2018-05-29T21:46:19Z","updated_at":"2018-05-29T21:46:19Z"}'} + ~ \"^/robots.txt\"","service_id":"5UWEX3jgaUsS3pS44aBblN","version":"2","deleted_at":null,"created_at":"2018-05-30T15:04:14Z","updated_at":"2018-05-30T15:04:14Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['253'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:19 GMT'] - fastly-ratelimit-remaining: ['780'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:14 GMT'] + fastly-ratelimit-remaining: ['815'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630379.218484,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692654.025658,VS0,VE129'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/backend + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:19Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:19Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:14Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:14Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:19 GMT'] - fastly-ratelimit-remaining: ['779'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:14 GMT'] + fastly-ratelimit-remaining: ['814'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630379.418011,VS0,VE185'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692654.215024,VS0,VE459'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/header + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":"2","updated_at":"2018-05-29T21:46:19Z","deleted_at":null,"created_at":"2018-05-29T21:46:19Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":"2","updated_at":"2018-05-30T15:04:15Z","deleted_at":null,"created_at":"2018-05-30T15:04:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:19 GMT'] - fastly-ratelimit-remaining: ['778'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:15 GMT'] + fastly-ratelimit-remaining: ['813'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630380.685607,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692655.734768,VS0,VE452'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -503,88 +527,88 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/response_object + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"5VLquy0RjmswddaW2ZC2d6","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:20Z","updated_at":"2018-05-29T21:46:20Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"5UWEX3jgaUsS3pS44aBblN","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:15Z","updated_at":"2018-05-30T15:04:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:20 GMT'] - fastly-ratelimit-remaining: ['777'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:15 GMT'] + fastly-ratelimit-remaining: ['812'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630380.958782,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692655.246401,VS0,VE152'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5VLquy0RjmswddaW2ZC2d6"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:20 GMT'] - fastly-ratelimit-remaining: ['776'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:15 GMT'] + fastly-ratelimit-remaining: ['811'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630380.466505,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692655.458136,VS0,VE204'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/activate + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:20Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:15Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:21 GMT'] - fastly-ratelimit-remaining: ['775'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:16 GMT'] + fastly-ratelimit-remaining: ['810'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630381.967028,VS0,VE679'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692656.724663,VS0,VE659'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:21Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:16Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} @@ -595,13 +619,13 @@ interactions: connection: [keep-alive] content-length: ['4215'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:21 GMT'] + date: ['Wed, 30 May 2018 15:04:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630382.720852,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692656.441411,VS0,VE422'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml b/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml index 28b3899..482ac14 100644 --- a/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyDirectors_tearDown.yml @@ -6,32 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":""}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":""}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:35 GMT'] + date: ['Wed, 30 May 2018 15:04:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630395.028870,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692667.140800,VS0,VE154'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -41,46 +41,46 @@ interactions: connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:35 GMT'] + date: ['Wed, 30 May 2018 15:04:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630396.544029,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692667.357441,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/deactivate + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:36 GMT'] - fastly-ratelimit-remaining: ['760'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:27 GMT'] + fastly-ratelimit-remaining: ['795'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630396.735855,VS0,VE501'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692668.532096,VS0,VE206'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6 + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,15 +89,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:36 GMT'] - fastly-ratelimit-remaining: ['759'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:27 GMT'] + fastly-ratelimit-remaining: ['794'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630396.311221,VS0,VE394'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692668.795752,VS0,VE146'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml b/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml index 7f7d261..1f954cf 100644 --- a/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml +++ b/tests/fixtures/cassettes/TestFastlyDirectors_test_fastly_director_with_one_backend.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","comment":""}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","comment":""}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,26 +14,26 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:22 GMT'] + date: ['Wed, 30 May 2018 15:04:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630382.999212,VS0,VE133'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692657.969340,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:21Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:16Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:21Z","active":true,"number":2,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:14Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:16Z","active":true,"number":2,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[{"priority":"0","statement":"req.url ~ \"^/robots.txt\"","comment":"","name":"condition-name","type":"REQUEST"}],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} @@ -44,48 +44,48 @@ interactions: connection: [keep-alive] content-length: ['4215'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:22 GMT'] + date: ['Wed, 30 May 2018 15:04:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527630382.210762,VS0,VE109'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692657.179226,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/2/clone + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:21Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:16Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:22 GMT'] - fastly-ratelimit-remaining: ['774'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:17 GMT'] + fastly-ratelimit-remaining: ['809'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630382.391530,VS0,VE496'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692657.351014,VS0,VE213'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/domain + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","created_at":"2018-05-29T21:46:19Z","comment":"","updated_at":"2018-05-29T21:46:19Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","created_at":"2018-05-30T15:04:13Z","comment":"","updated_at":"2018-05-30T15:04:13Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -93,21 +93,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:23 GMT'] + date: ['Wed, 30 May 2018 15:04:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630383.963566,VS0,VE165'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692658.623341,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/healthcheck + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -117,24 +117,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:23 GMT'] + date: ['Wed, 30 May 2018 15:04:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630383.203718,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692658.067959,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/condition + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/condition response: - body: {string: !!python/unicode '[{"priority":"0","version":"3","name":"condition-name","deleted_at":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","created_at":"2018-05-29T21:46:19Z","comment":"","statement":"req.url - ~ \"^/robots.txt\"","updated_at":"2018-05-29T21:46:19Z","type":"REQUEST"}]'} + body: {string: !!python/unicode '[{"priority":"0","version":"3","name":"condition-name","deleted_at":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","created_at":"2018-05-30T15:04:14Z","comment":"","statement":"req.url + ~ \"^/robots.txt\"","updated_at":"2018-05-30T15:04:14Z","type":"REQUEST"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -142,23 +142,23 @@ interactions: connection: [keep-alive] content-length: ['255'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:23 GMT'] + date: ['Wed, 30 May 2018 15:04:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630383.391197,VS0,VE373'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692658.250060,VS0,VE137'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/backend + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:46:19Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:46:19Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:04:14Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:04:14Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -166,21 +166,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:23 GMT'] + date: ['Wed, 30 May 2018 15:04:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630384.839908,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692658.445136,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/director + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -190,21 +190,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:24 GMT'] + date: ['Wed, 30 May 2018 15:04:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630384.043637,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692659.634094,VS0,VE458'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/cache_settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -214,21 +214,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:24 GMT'] + date: ['Wed, 30 May 2018 15:04:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630384.244123,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692659.151944,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/gzip + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -238,24 +238,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:24 GMT'] + date: ['Wed, 30 May 2018 15:04:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630384.436371,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692659.375671,VS0,VE405'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/header + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"5VLquy0RjmswddaW2ZC2d6","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:46:19Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:46:19Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"5UWEX3jgaUsS3pS44aBblN","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:04:15Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:04:15Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -263,21 +263,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:25 GMT'] + date: ['Wed, 30 May 2018 15:04:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630385.914030,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692660.837286,VS0,VE431'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/request_settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -287,24 +287,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:25 GMT'] + date: ['Wed, 30 May 2018 15:04:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630385.101131,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692660.327635,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/response_object + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","cache_condition":"","created_at":"2018-05-29T21:46:20Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:46:20Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","cache_condition":"","created_at":"2018-05-30T15:04:15Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:04:15Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -312,21 +312,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:25 GMT'] + date: ['Wed, 30 May 2018 15:04:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630386.581304,VS0,VE379'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692661.797949,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/snippet + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -336,21 +336,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:26 GMT'] + date: ['Wed, 30 May 2018 15:04:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630386.034588,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692661.017115,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/logging/s3 + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -360,21 +360,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:26 GMT'] + date: ['Wed, 30 May 2018 15:04:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630386.225033,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692661.197126,VS0,VE134'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04:21 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692661.391862,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/domain/example8000.com + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -383,23 +407,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:27 GMT'] - fastly-ratelimit-remaining: ['773'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:21 GMT'] + fastly-ratelimit-remaining: ['808'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630387.703876,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692662.576439,VS0,VE161'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/condition/condition-name + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/condition/condition-name response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -408,23 +432,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:27 GMT'] - fastly-ratelimit-remaining: ['772'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:22 GMT'] + fastly-ratelimit-remaining: ['807'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630387.206476,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692662.795771,VS0,VE435'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/backend/localhost + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -433,23 +457,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:28 GMT'] - fastly-ratelimit-remaining: ['771'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:22 GMT'] + fastly-ratelimit-remaining: ['806'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630388.717725,VS0,VE438'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692662.291247,VS0,VE182'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -458,23 +482,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:28 GMT'] - fastly-ratelimit-remaining: ['770'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:22 GMT'] + fastly-ratelimit-remaining: ['805'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630388.229980,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692663.535030,VS0,VE217'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -483,150 +507,151 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:28 GMT'] - fastly-ratelimit-remaining: ['769'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:23 GMT'] + fastly-ratelimit-remaining: ['804'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630389.728696,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692663.813262,VS0,VE441'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/domain + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"deleted_at":null,"created_at":"2018-05-29T21:46:29Z","updated_at":"2018-05-29T21:46:29Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:23Z","updated_at":"2018-05-30T15:04:23Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:29 GMT'] - fastly-ratelimit-remaining: ['768'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:23 GMT'] + fastly-ratelimit-remaining: ['803'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630389.964058,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692663.314021,VS0,VE519'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/backend + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:29Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:29Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:23Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:23Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:29 GMT'] - fastly-ratelimit-remaining: ['767'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:24 GMT'] + fastly-ratelimit-remaining: ['802'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630389.486211,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692664.892308,VS0,VE193'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "retries": 5, "capacity": 100, "shield": - null, "backends": ["localhost"], "quorum": 75, "type": 4, "name": "client_director"}' + null, "name": "client_director", "backends": ["localhost"], "type": 4, "quorum": + 75}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/director + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/director response: - body: {string: !!python/unicode '{"comment":"","retries":5,"capacity":100,"shield":null,"backends":[],"quorum":75,"type":4,"name":"client_director","service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"deleted_at":null,"created_at":"2018-05-29T21:46:30Z","updated_at":"2018-05-29T21:46:30Z"}'} + body: {string: !!python/unicode '{"comment":"","retries":5,"capacity":100,"shield":null,"name":"client_director","backends":[],"type":4,"quorum":75,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:24Z","updated_at":"2018-05-30T15:04:24Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['255'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:30 GMT'] - fastly-ratelimit-remaining: ['766'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:24 GMT'] + fastly-ratelimit-remaining: ['801'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630390.070332,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692664.146778,VS0,VE158'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/director/client_director/backend/localhost + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/director/client_director/backend/localhost response: - body: {string: !!python/unicode '{"service_id":"5VLquy0RjmswddaW2ZC2d6","version":3,"director_name":"client_director","backend_name":"localhost","created_at":"2018-05-29T21:46:30Z","deleted_at":null,"updated_at":"2018-05-29T21:46:30Z"}'} + body: {string: !!python/unicode '{"service_id":"5UWEX3jgaUsS3pS44aBblN","version":3,"director_name":"client_director","backend_name":"localhost","created_at":"2018-05-30T15:04:24Z","deleted_at":null,"updated_at":"2018-05-30T15:04:24Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['202'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:30 GMT'] - fastly-ratelimit-remaining: ['765'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:24 GMT'] + fastly-ratelimit-remaining: ['800'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630391.556556,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692664.365814,VS0,VE435'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/header + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5VLquy0RjmswddaW2ZC2d6","version":"3","updated_at":"2018-05-29T21:46:31Z","deleted_at":null,"created_at":"2018-05-29T21:46:31Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5UWEX3jgaUsS3pS44aBblN","version":"3","updated_at":"2018-05-30T15:04:24Z","deleted_at":null,"created_at":"2018-05-30T15:04:24Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:31 GMT'] - fastly-ratelimit-remaining: ['764'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:25 GMT'] + fastly-ratelimit-remaining: ['799'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630391.098748,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692665.862890,VS0,VE201'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -634,87 +659,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/response_object + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"5VLquy0RjmswddaW2ZC2d6","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:32Z","updated_at":"2018-05-29T21:46:32Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"5UWEX3jgaUsS3pS44aBblN","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:25Z","updated_at":"2018-05-30T15:04:25Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:32 GMT'] - fastly-ratelimit-remaining: ['763'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:25 GMT'] + fastly-ratelimit-remaining: ['798'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630392.713510,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692665.120248,VS0,VE171'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/settings + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"5VLquy0RjmswddaW2ZC2d6"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:32 GMT'] - fastly-ratelimit-remaining: ['762'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:25 GMT'] + fastly-ratelimit-remaining: ['797'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630392.231667,VS0,VE427'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692665.353831,VS0,VE229'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/version/3/activate + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:32Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:25Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:33 GMT'] - fastly-ratelimit-remaining: ['761'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:26 GMT'] + fastly-ratelimit-remaining: ['796'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630393.840711,VS0,VE909'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692666.640743,VS0,VE599'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -724,14 +749,14 @@ interactions: connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:34 GMT'] + date: ['Wed, 30 May 2018 15:04:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630394.863262,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692666.298915,VS0,VE196'] status: {code: 200, message: OK} - request: body: null @@ -740,7 +765,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":""}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":""}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -748,25 +773,25 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:34 GMT'] + date: ['Wed, 30 May 2018 15:04:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630394.373454,VS0,VE179'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692667.558255,VS0,VE151'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -776,25 +801,25 @@ interactions: connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:34 GMT'] + date: ['Wed, 30 May 2018 15:04:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630395.623699,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692667.764566,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5VLquy0RjmswddaW2ZC2d6/details + uri: https://api.fastly.com/service/5UWEX3jgaUsS3pS44aBblN/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5VLquy0RjmswddaW2ZC2d6","staging":false,"created_at":"2018-05-29T21:46:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:33Z","deployed":false}],"created_at":"2018-05-29T21:46:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:13Z","id":"5VLquy0RjmswddaW2ZC2d6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"5UWEX3jgaUsS3pS44aBblN","staging":false,"created_at":"2018-05-30T15:04:17Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:26Z","deployed":false}],"created_at":"2018-05-30T15:04:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:09Z","id":"5UWEX3jgaUsS3pS44aBblN","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:33Z","active":true,"number":3,"service_id":"5VLquy0RjmswddaW2ZC2d6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-29T21:46:30Z","backends":["localhost"],"comment":"","updated_at":"2018-05-29T21:46:30Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:26Z","active":true,"number":3,"service_id":"5UWEX3jgaUsS3pS44aBblN","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:17Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[{"retries":5,"location":null,"name":"client_director","deleted_at":null,"capacity":100,"created_at":"2018-05-30T15:04:24Z","backends":["localhost"],"comment":"","updated_at":"2018-05-30T15:04:24Z","type":4,"quorum":75}],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -804,13 +829,13 @@ interactions: connection: [keep-alive] content-length: ['4661'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:34 GMT'] + date: ['Wed, 30 May 2018 15:04:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630395.810404,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692667.944719,VS0,VE117'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml b/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml index f504b6e..bf0f0a6 100644 --- a/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyGzip_tearDown.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","comment":""}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":""}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,28 +14,28 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:13 GMT'] + date: ['Wed, 30 May 2018 15:06:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630494.827579,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692784.659291,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/details + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:13Z","deployed":false}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:23Z","deployed":false}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} @@ -46,46 +46,46 @@ interactions: connection: [keep-alive] content-length: ['4443'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:14 GMT'] + date: ['Wed, 30 May 2018 15:06:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630494.049221,VS0,VE109'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692784.856965,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/deactivate + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:13Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:23Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:14 GMT'] + date: ['Wed, 30 May 2018 15:06:24 GMT'] fastly-ratelimit-remaining: ['674'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630494.233974,VS0,VE484'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692784.039456,VS0,VE208'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -94,15 +94,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:15 GMT'] + date: ['Wed, 30 May 2018 15:06:24 GMT'] fastly-ratelimit-remaining: ['673'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630495.789702,VS0,VE390'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692784.298347,VS0,VE176'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml b/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml index a266944..64cbb86 100644 --- a/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml +++ b/tests/fixtures/cassettes/TestFastlyGzip_test_fastly_gzip.yml @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:05 GMT'] + date: ['Wed, 30 May 2018 15:06:15 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630485.005829,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692775.219383,VS0,VE369'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"d1f3520a2ecf587cfde1fc4de23190ee99895e42","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:48:05Z","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM"}'} + Ansible Module Test","publish_key":"a90b52bba26e24af7fcf8627853ff235c726d2bd","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:05 GMT'] + date: ['Wed, 30 May 2018 15:06:16 GMT'] fastly-ratelimit-remaining: ['683'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630485.187724,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692776.645068,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/details + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:05Z","active":false,"number":1,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:48:05Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:16Z","active":false,"number":1,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:05 GMT'] + date: ['Wed, 30 May 2018 15:06:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630486.645168,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692776.176418,VS0,VE265'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/1/clone + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:06 GMT'] + date: ['Wed, 30 May 2018 15:06:17 GMT'] fastly-ratelimit-remaining: ['682'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630486.891735,VS0,VE452'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692776.497745,VS0,VE518'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/domain + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:06 GMT'] + date: ['Wed, 30 May 2018 15:06:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630486.415915,VS0,VE372'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692777.071257,VS0,VE393'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/healthcheck + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:07 GMT'] + date: ['Wed, 30 May 2018 15:06:17 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630487.859190,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692778.522078,VS0,VE142'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/condition + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:07 GMT'] + date: ['Wed, 30 May 2018 15:06:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630487.356052,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692778.720844,VS0,VE464'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/backend + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:07 GMT'] + date: ['Wed, 30 May 2018 15:06:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630488.791334,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692778.240967,VS0,VE133'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/director + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:08 GMT'] + date: ['Wed, 30 May 2018 15:06:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630488.981511,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692778.429708,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/cache_settings + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:08 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630488.417179,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692779.596253,VS0,VE406'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/gzip + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:08 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630489.606546,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692779.051940,VS0,VE170'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/header + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:08 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630489.798411,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692779.279808,VS0,VE173'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/request_settings + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:09 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630489.988145,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692780.511152,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/response_object + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:09 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630489.424575,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692780.684321,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/snippet + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:09 GMT'] + date: ['Wed, 30 May 2018 15:06:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630490.872178,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692780.859498,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/logging/s3 + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,68 +378,92 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:10 GMT'] + date: ['Wed, 30 May 2018 15:06:20 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630490.055769,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692780.039945,VS0,VE125'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:06:20 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692780.219974,VS0,VE121'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/domain + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":2,"deleted_at":null,"created_at":"2018-05-29T21:48:10Z","updated_at":"2018-05-29T21:48:10Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7mtnIbJIoFC6KgteIPornU","version":2,"deleted_at":null,"created_at":"2018-05-30T15:06:20Z","updated_at":"2018-05-30T15:06:20Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:10 GMT'] + date: ['Wed, 30 May 2018 15:06:20 GMT'] fastly-ratelimit-remaining: ['681'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630490.251525,VS0,VE458'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692780.391544,VS0,VE505'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/backend + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:48:10Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:48:10Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7mtnIbJIoFC6KgteIPornU","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:06:21Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:06:21Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:11 GMT'] + date: ['Wed, 30 May 2018 15:06:21 GMT'] fastly-ratelimit-remaining: ['680'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630491.835173,VS0,VE167'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692781.955991,VS0,VE181'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"content_types": "text/html text/css application/javascript", @@ -448,55 +472,55 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/gzip + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/gzip response: body: {string: !!python/unicode '{"content_types":"text/html text/css application/javascript","extensions":"html - css js","name":"gzip-config-name","cache_condition":"","service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":"2","deleted_at":null,"created_at":"2018-05-29T21:48:11Z","updated_at":"2018-05-29T21:48:11Z"}'} + css js","name":"gzip-config-name","cache_condition":"","service_id":"7mtnIbJIoFC6KgteIPornU","version":"2","deleted_at":null,"created_at":"2018-05-30T15:06:21Z","updated_at":"2018-05-30T15:06:21Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['277'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:11 GMT'] + date: ['Wed, 30 May 2018 15:06:21 GMT'] fastly-ratelimit-remaining: ['679'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630491.074440,VS0,VE144'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692781.187883,VS0,VE205'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/header + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":"2","updated_at":"2018-05-29T21:48:11Z","deleted_at":null,"created_at":"2018-05-29T21:48:11Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7mtnIbJIoFC6KgteIPornU","version":"2","updated_at":"2018-05-30T15:06:21Z","deleted_at":null,"created_at":"2018-05-30T15:06:21Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:11 GMT'] + date: ['Wed, 30 May 2018 15:06:21 GMT'] fastly-ratelimit-remaining: ['678'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630491.293783,VS0,VE399'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692781.461428,VS0,VE454'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -504,90 +528,90 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/response_object + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"7XjFT2gY9AAn4wBcr5FxYM","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:48:12Z","updated_at":"2018-05-29T21:48:12Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7mtnIbJIoFC6KgteIPornU","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:06:22Z","updated_at":"2018-05-30T15:06:22Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:12 GMT'] + date: ['Wed, 30 May 2018 15:06:22 GMT'] fastly-ratelimit-remaining: ['677'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] - x-timer: ['S1527630492.832465,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692782.966060,VS0,VE169'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/settings + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7XjFT2gY9AAn4wBcr5FxYM"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7mtnIbJIoFC6KgteIPornU"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:12 GMT'] + date: ['Wed, 30 May 2018 15:06:22 GMT'] fastly-ratelimit-remaining: ['676'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630492.376161,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692782.184395,VS0,VE468'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/version/2/activate + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:12Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:22Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:13 GMT'] + date: ['Wed, 30 May 2018 15:06:23 GMT'] fastly-ratelimit-remaining: ['675'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630493.903979,VS0,VE616'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692783.703047,VS0,VE682'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/7XjFT2gY9AAn4wBcr5FxYM/details + uri: https://api.fastly.com/service/7mtnIbJIoFC6KgteIPornU/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:05Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:05Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","staging":false,"created_at":"2018-05-29T21:48:06Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:13Z","deployed":false}],"created_at":"2018-05-29T21:48:05Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:48:05Z","id":"7XjFT2gY9AAn4wBcr5FxYM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:16Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7mtnIbJIoFC6KgteIPornU","staging":false,"created_at":"2018-05-30T15:06:16Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:23Z","deployed":false}],"created_at":"2018-05-30T15:06:16Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:06:16Z","id":"7mtnIbJIoFC6KgteIPornU","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:13Z","active":true,"number":2,"service_id":"7XjFT2gY9AAn4wBcr5FxYM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:48:06Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-29T21:48:11Z","extensions":"html - css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-29T21:48:11Z","content_types":"text/html + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:23Z","active":true,"number":2,"service_id":"7mtnIbJIoFC6KgteIPornU","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:16Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[{"created_at":"2018-05-30T15:06:21Z","extensions":"html + css js","name":"gzip-config-name","deleted_at":null,"updated_at":"2018-05-30T15:06:21Z","content_types":"text/html text/css application/javascript","cache_condition":""}],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} @@ -598,13 +622,13 @@ interactions: connection: [keep-alive] content-length: ['4443'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:13 GMT'] + date: ['Wed, 30 May 2018 15:06:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630494.593054,VS0,VE144'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692783.435975,VS0,VE158'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml b/tests/fixtures/cassettes/TestFastlyHealthchecks_tearDown.yml index 59b46fc..964322b 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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:09 GMT'] + date: ['Wed, 30 May 2018 15:04:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630429.196481,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692700.599061,VS0,VE176'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -42,46 +42,46 @@ interactions: connection: [keep-alive] content-length: ['4697'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:09 GMT'] + date: ['Wed, 30 May 2018 15:04:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630429.406520,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692700.835256,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/deactivate + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:10 GMT'] - fastly-ratelimit-remaining: ['728'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:00 GMT'] + fastly-ratelimit-remaining: ['763'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630430.587919,VS0,VE496'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692700.044931,VS0,VE477'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:10 GMT'] - fastly-ratelimit-remaining: ['727'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:01 GMT'] + fastly-ratelimit-remaining: ['762'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630430.215215,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692701.580814,VS0,VE434'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml b/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml index 9fb0bc1..a880b6e 100644 --- a/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml +++ b/tests/fixtures/cassettes/TestFastlyHealthchecks_test_fastly_healthchecks.yml @@ -6,84 +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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:57 GMT'] + date: ['Wed, 30 May 2018 15:04:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630417.963921,VS0,VE190'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692688.878290,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:57 GMT'] + date: ['Wed, 30 May 2018 15:04:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630417.226879,VS0,VE107'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692688.345709,VS0,VE431'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/clone + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:57 GMT'] - fastly-ratelimit-remaining: ['740'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:49 GMT'] + fastly-ratelimit-remaining: ['775'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630417.408926,VS0,VE477'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692689.832884,VS0,VE500'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/domain + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","created_at":"2018-05-29T21:46:52Z","comment":"","updated_at":"2018-05-29T21:46:52Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","created_at":"2018-05-30T15:04:44Z","comment":"","updated_at":"2018-05-30T15:04:44Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +89,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:58 GMT'] + date: ['Wed, 30 May 2018 15:04:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630418.028768,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692689.392528,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/healthcheck + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:58 GMT'] + date: ['Wed, 30 May 2018 15:04:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630419.539843,VS0,VE372'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692690.878806,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/condition + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +137,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:59 GMT'] + date: ['Wed, 30 May 2018 15:04:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630419.998408,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692690.067049,VS0,VE133'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/backend + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:46:53Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:46:53Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:04:45Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:04:45Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:59 GMT'] + date: ['Wed, 30 May 2018 15:04:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630419.434783,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692690.260332,VS0,VE136'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/director + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:59 GMT'] + date: ['Wed, 30 May 2018 15:04:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630420.631803,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692690.454041,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/cache_settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:00 GMT'] + date: ['Wed, 30 May 2018 15:04:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630420.861657,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692691.631319,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/gzip + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +233,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:00 GMT'] + date: ['Wed, 30 May 2018 15:04:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630420.088376,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692691.810102,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/header + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:46:53Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:46:53Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"61gZVpISLDZRhPdKKv5Imc","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:04:45Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:04:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:00 GMT'] + date: ['Wed, 30 May 2018 15:04:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630421.528296,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692691.254472,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/request_settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +282,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:00 GMT'] + date: ['Wed, 30 May 2018 15:04:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630421.754147,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692691.431455,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/response_object + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","cache_condition":"","created_at":"2018-05-29T21:46:54Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:46:54Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","cache_condition":"","created_at":"2018-05-30T15:04:45Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:04:45Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +307,45 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:01 GMT'] + date: ['Wed, 30 May 2018 15:04:51 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692692.612056,VS0,VE126'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630421.959729,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692692.798469,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/snippet + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +355,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:01 GMT'] + date: ['Wed, 30 May 2018 15:04:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630421.187488,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692692.253938,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/logging/s3 + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +379,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:02 GMT'] + date: ['Wed, 30 May 2018 15:04:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630422.658030,VS0,VE375'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692693.722377,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/domain/example8000.com + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +402,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:02 GMT'] - fastly-ratelimit-remaining: ['739'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:53 GMT'] + fastly-ratelimit-remaining: ['774'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630422.106699,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692693.902050,VS0,VE437'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/backend/localhost + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +427,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:03 GMT'] - fastly-ratelimit-remaining: ['738'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:53 GMT'] + fastly-ratelimit-remaining: ['773'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630423.605182,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692693.396814,VS0,VE592'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +452,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:03 GMT'] - fastly-ratelimit-remaining: ['737'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:54 GMT'] + fastly-ratelimit-remaining: ['772'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630423.107379,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692694.047872,VS0,VE235'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,127 +477,127 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:04 GMT'] - fastly-ratelimit-remaining: ['736'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:54 GMT'] + fastly-ratelimit-remaining: ['771'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630424.596726,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692694.341331,VS0,VE540'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/domain + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":3,"deleted_at":null,"created_at":"2018-05-29T21:47:04Z","updated_at":"2018-05-29T21:47:04Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"61gZVpISLDZRhPdKKv5Imc","version":3,"deleted_at":null,"created_at":"2018-05-30T15:04:55Z","updated_at":"2018-05-30T15:04:55Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:04 GMT'] - fastly-ratelimit-remaining: ['735'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:55 GMT'] + fastly-ratelimit-remaining: ['770'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630424.296840,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692695.943287,VS0,VE252'] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"comment": "", "name": "test_healthcheck", "http_version": - "1.1", "window": 5, "initial": 4, "timeout": 5000, "host": "example8000.com", - "expected_response": 200, "check_interval": 15000, "threshold": 3, "path": "/healthcheck", + body: !!python/unicode '{"comment": "", "check_interval": 15000, "name": "test_healthcheck", + "http_version": "1.1", "initial": 4, "host": "example8000.com", "window": 5, + "expected_response": 200, "timeout": 5000, "threshold": 3, "path": "/healthcheck", "method": "GET"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/healthcheck + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/healthcheck response: - body: {string: !!python/unicode '{"comment":"","name":"test_healthcheck","http_version":"1.1","window":5,"initial":4,"timeout":5000,"host":"example8000.com","expected_response":200,"check_interval":15000,"threshold":3,"path":"/healthcheck","method":"GET","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":3,"updated_at":"2018-05-29T21:47:05Z","deleted_at":null,"created_at":"2018-05-29T21:47:05Z"}'} + body: {string: !!python/unicode '{"comment":"","check_interval":15000,"name":"test_healthcheck","http_version":"1.1","initial":4,"host":"example8000.com","window":5,"expected_response":200,"timeout":5000,"threshold":3,"path":"/healthcheck","method":"GET","service_id":"61gZVpISLDZRhPdKKv5Imc","version":3,"updated_at":"2018-05-30T15:04:55Z","deleted_at":null,"created_at":"2018-05-30T15:04:55Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['362'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:05 GMT'] - fastly-ratelimit-remaining: ['734'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:55 GMT'] + fastly-ratelimit-remaining: ['769'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630425.800388,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692695.255293,VS0,VE460'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": "test_healthcheck", "first_byte_timeout": - 15000, "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, - "address": "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": - 80, "ssl_hostname": null, "shield": null}' + 15000, "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": + "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": + 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/backend + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":"test_healthcheck","first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:05Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:05Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":"test_healthcheck","first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:56Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:56Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['730'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:05 GMT'] - fastly-ratelimit-remaining: ['733'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:56 GMT'] + fastly-ratelimit-remaining: ['768'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630425.279511,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692696.774427,VS0,VE533'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/header + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"3","updated_at":"2018-05-29T21:47:06Z","deleted_at":null,"created_at":"2018-05-29T21:47:06Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":"3","updated_at":"2018-05-30T15:04:56Z","deleted_at":null,"created_at":"2018-05-30T15:04:56Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:06 GMT'] - fastly-ratelimit-remaining: ['732'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:56 GMT'] + fastly-ratelimit-remaining: ['767'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630426.766454,VS0,VE394'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692696.368191,VS0,VE435'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -583,104 +605,103 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/response_object + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:06Z","updated_at":"2018-05-29T21:47:06Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"61gZVpISLDZRhPdKKv5Imc","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:57Z","updated_at":"2018-05-30T15:04:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:06 GMT'] - fastly-ratelimit-remaining: ['731'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:57 GMT'] + fastly-ratelimit-remaining: ['766'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630426.233476,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692697.862568,VS0,VE412'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:07 GMT'] - fastly-ratelimit-remaining: ['730'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:57 GMT'] + fastly-ratelimit-remaining: ['765'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630427.699382,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692697.336540,VS0,VE173'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/3/activate + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:06Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:57Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:08 GMT'] - fastly-ratelimit-remaining: ['729'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:58 GMT'] + fastly-ratelimit-remaining: ['764'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630427.197872,VS0,VE1067'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692698.568067,VS0,VE1148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4697'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:08 GMT'] + date: ['Wed, 30 May 2018 15:04:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630428.371640,VS0,VE144'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692699.774381,VS0,VE145'] status: {code: 200, message: OK} - request: body: null @@ -689,7 +710,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":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -697,53 +718,52 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:08 GMT'] + date: ['Wed, 30 May 2018 15:04:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630429.592163,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692699.979197,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4697'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:08 GMT'] + date: ['Wed, 30 May 2018 15:04:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630429.805048,VS0,VE109'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692699.178082,VS0,VE167'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:57Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:08Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:58Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:08Z","active":true,"number":3,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:57Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:58Z","active":true,"number":3,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":"test_healthcheck","port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[{"window":5,"threshold":3,"name":"test_healthcheck","path":"/healthcheck","host":"example8000.com","http_version":"1.1","comment":"","timeout":5000,"check_interval":15000,"method":"GET","initial":4,"expected_response":200}],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -753,13 +773,13 @@ interactions: connection: [keep-alive] content-length: ['4697'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:09 GMT'] + date: ['Wed, 30 May 2018 15:04:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630429.986289,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692699.400940,VS0,VE119'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyS3s_tearDown.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml similarity index 64% rename from tests/fixtures/cassettes/TestFastlyS3s_tearDown.yml rename to tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml index d7f1855..3069b0b 100644 --- a/tests/fixtures/cassettes/TestFastlyS3s_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_tearDown.yml @@ -6,34 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['1150'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:47 GMT'] + date: ['Wed, 30 May 2018 15:02:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630227.088495,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692521.792405,VS0,VE146'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -44,46 +43,46 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:47 GMT'] + date: ['Wed, 30 May 2018 15:02:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630227.304582,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692521.997486,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/deactivate + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:47 GMT'] - fastly-ratelimit-remaining: ['919'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:01 GMT'] + fastly-ratelimit-remaining: ['954'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630227.490178,VS0,VE454'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692521.183180,VS0,VE463'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85 response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -92,15 +91,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:48 GMT'] - fastly-ratelimit-remaining: ['918'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:02 GMT'] + fastly-ratelimit-remaining: ['953'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630228.018339,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692522.696797,VS0,VE467'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml similarity index 65% rename from tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s.yml rename to tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml index 97398c8..711e7bf 100644 --- a/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,76 +14,75 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:34 GMT'] + date: ['Wed, 30 May 2018 15:01:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630214.120866,VS0,VE135'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692509.016414,VS0,VE141'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:32Z","active":true,"number":3,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:22Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:47Z","active":true,"number":3,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"0","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4423'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:34 GMT'] + date: ['Wed, 30 May 2018 15:01:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630214.327984,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692509.215643,VS0,VE418'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/3/clone + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/3/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:34 GMT'] - fastly-ratelimit-remaining: ['932'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:50 GMT'] + fastly-ratelimit-remaining: ['967'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630215.522057,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692510.713542,VS0,VE508'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/domain response: - body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","created_at":"2018-05-29T21:43:29Z","comment":"","updated_at":"2018-05-29T21:43:29Z"}]'} + body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","created_at":"2018-05-30T15:01:44Z","comment":"","updated_at":"2018-05-30T15:01:44Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:35 GMT'] + date: ['Wed, 30 May 2018 15:01:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630215.035820,VS0,VE402'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692510.272615,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/healthcheck + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:35 GMT'] + date: ['Wed, 30 May 2018 15:01:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630216.512340,VS0,VE400'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692510.456501,VS0,VE169'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/condition + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:36 GMT'] + date: ['Wed, 30 May 2018 15:01:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630216.987927,VS0,VE372'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692511.678434,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:43:29Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:43:29Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:01:44Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:01:44Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:36 GMT'] + date: ['Wed, 30 May 2018 15:01:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630216.433754,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692511.847523,VS0,VE171'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/director + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,23 +186,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:36 GMT'] + date: ['Wed, 30 May 2018 15:01:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630217.878173,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692511.066773,VS0,VE434'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/cache_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/cache_settings response: - body: {string: !!python/unicode '[{"stale_ttl":"0","version":"4","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:30Z","action":null,"updated_at":"2018-05-29T21:43:30Z"}]'} + body: {string: !!python/unicode '[{"stale_ttl":"0","version":"4","ttl":null,"name":"cache-settings-config-name","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:45Z","action":null,"updated_at":"2018-05-30T15:01:45Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['243'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:37 GMT'] + date: ['Wed, 30 May 2018 15:01:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630217.068846,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692512.554047,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/gzip + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:37 GMT'] + date: ['Wed, 30 May 2018 15:01:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630218.553520,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692512.024789,VS0,VE172'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"2ElZpLWBqaLapYb4nPpjID","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:43:30Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:43:30Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"2Yozki6zPwppbu2BgGnY85","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:01:45Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:01:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:38 GMT'] + date: ['Wed, 30 May 2018 15:01:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630218.993027,VS0,VE126'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692512.253476,VS0,VE135'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/request_settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:38 GMT'] + date: ['Wed, 30 May 2018 15:01:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630218.192534,VS0,VE374'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692512.445898,VS0,VE167'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"4","status":"200","name":"Set - 200 status code","content":"","deleted_at":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","cache_condition":"","created_at":"2018-05-29T21:43:31Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:43:31Z"}]'} + 200 status code","content":"","deleted_at":null,"service_id":"2Yozki6zPwppbu2BgGnY85","cache_condition":"","created_at":"2018-05-30T15:01:46Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:01:46Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,45 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:39 GMT'] + date: ['Wed, 30 May 2018 15:01:52 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692513.672167,VS0,VE130'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/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: ['Wed, 30 May 2018 15:01:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630219.645480,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692513.859298,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/snippet + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:39 GMT'] + date: ['Wed, 30 May 2018 15:01:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630219.083570,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692513.037581,VS0,VE462'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/logging/s3 + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +380,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:39 GMT'] + date: ['Wed, 30 May 2018 15:01:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630220.516529,VS0,VE376'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692514.558308,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/domain/example8000.com + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:40 GMT'] - fastly-ratelimit-remaining: ['931'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:54 GMT'] + fastly-ratelimit-remaining: ['966'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630220.968948,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692514.747497,VS0,VE564'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/backend/localhost + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:40 GMT'] - fastly-ratelimit-remaining: ['930'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:54 GMT'] + fastly-ratelimit-remaining: ['965'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630220.203529,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692514.370065,VS0,VE502'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/cache_settings/cache-settings-config-name + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/cache_settings/cache-settings-config-name response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:41 GMT'] - fastly-ratelimit-remaining: ['929'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:55 GMT'] + fastly-ratelimit-remaining: ['964'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630221.689474,VS0,VE454'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692515.932762,VS0,VE437'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/header/Set%20Location%20header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,23 +478,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:41 GMT'] - fastly-ratelimit-remaining: ['928'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:55 GMT'] + fastly-ratelimit-remaining: ['963'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630221.317953,VS0,VE164'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692515.427189,VS0,VE161'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -480,99 +503,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:41 GMT'] - fastly-ratelimit-remaining: ['927'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:55 GMT'] + fastly-ratelimit-remaining: ['962'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630222.555137,VS0,VE219'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692516.647197,VS0,VE160'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/domain + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2ElZpLWBqaLapYb4nPpjID","version":4,"deleted_at":null,"created_at":"2018-05-29T21:43:41Z","updated_at":"2018-05-29T21:43:41Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2Yozki6zPwppbu2BgGnY85","version":4,"deleted_at":null,"created_at":"2018-05-30T15:01:55Z","updated_at":"2018-05-30T15:01:55Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:42 GMT'] - fastly-ratelimit-remaining: ['926'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:56 GMT'] + fastly-ratelimit-remaining: ['961'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630222.849605,VS0,VE194'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692516.866679,VS0,VE205'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/backend + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:42Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:42Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:01:56Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:01:56Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:42 GMT'] - fastly-ratelimit-remaining: ['925'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:56 GMT'] + fastly-ratelimit-remaining: ['960'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630222.120158,VS0,VE158'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692516.131287,VS0,VE468'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/header + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2ElZpLWBqaLapYb4nPpjID","version":"4","updated_at":"2018-05-29T21:43:42Z","deleted_at":null,"created_at":"2018-05-29T21:43:42Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"2Yozki6zPwppbu2BgGnY85","version":"4","updated_at":"2018-05-30T15:01:57Z","deleted_at":null,"created_at":"2018-05-30T15:01:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:42 GMT'] - fastly-ratelimit-remaining: ['924'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:57 GMT'] + fastly-ratelimit-remaining: ['959'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630222.354577,VS0,VE396'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692517.657954,VS0,VE454'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -580,119 +603,119 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/response_object + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:43Z","updated_at":"2018-05-29T21:43:43Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"2Yozki6zPwppbu2BgGnY85","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:01:57Z","updated_at":"2018-05-30T15:01:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:43 GMT'] - fastly-ratelimit-remaining: ['923'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:57 GMT'] + fastly-ratelimit-remaining: ['958'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630223.829925,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692517.172295,VS0,VE420'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"access_key": "ACCESS_KEY", "domain": "example8000.com", "redundancy": "standard", "placement": null, "name": "test_s3", "format_version": 2, "format": "%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %>s %b", "server_side_encryption_kms_key_id": - null, "period": 60, "bucket_name": "prod-fastly-logs", "path": "/", "gzip_level": - 0, "secret_key": "SECRET", "message_type": "classic", "server_side_encryption": + null, "period": 60, "bucket_name": "prod-fastly-logs", "gzip_level": 0, "path": + "/", "secret_key": "SECRET", "message_type": "classic", "server_side_encryption": null, "timestamp_format": "%Y-%m-%dT%H:%M:%S.000", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/logging/s3 + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/logging/s3 response: body: {string: !!python/unicode '{"access_key":"ACCESS_KEY","domain":"example8000.com","redundancy":"standard","placement":null,"name":"test_s3","format_version":"2","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b","server_side_encryption_kms_key_id":null,"period":"60","bucket_name":"prod-fastly-logs","path":"/","gzip_level":"0","secret_key":"SECRET","message_type":"classic","server_side_encryption":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","response_condition":"","service_id":"2ElZpLWBqaLapYb4nPpjID","version":"4","public_key":null,"updated_at":"2018-05-29T21:43:43Z","deleted_at":null,"created_at":"2018-05-29T21:43:43Z"}'} + %h \"%r\" %\u003es %b","server_side_encryption_kms_key_id":null,"period":"60","bucket_name":"prod-fastly-logs","gzip_level":"0","path":"/","secret_key":"SECRET","message_type":"classic","server_side_encryption":null,"timestamp_format":"%Y-%m-%dT%H:%M:%S.000","response_condition":"","service_id":"2Yozki6zPwppbu2BgGnY85","version":"4","public_key":null,"updated_at":"2018-05-30T15:01:58Z","deleted_at":null,"created_at":"2018-05-30T15:01:58Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['609'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:43 GMT'] - fastly-ratelimit-remaining: ['922'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:58 GMT'] + fastly-ratelimit-remaining: ['957'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630223.362079,VS0,VE547'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692518.651707,VS0,VE434'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/settings + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:44 GMT'] - fastly-ratelimit-remaining: ['921'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:58 GMT'] + fastly-ratelimit-remaining: ['956'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630224.984600,VS0,VE443'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692518.145147,VS0,VE482'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/version/4/activate + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/version/4/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:43Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:58Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:45 GMT'] - fastly-ratelimit-remaining: ['920'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:01:59 GMT'] + fastly-ratelimit-remaining: ['955'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630225.593239,VS0,VE895'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692519.688253,VS0,VE903'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -703,14 +726,14 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:46 GMT'] + date: ['Wed, 30 May 2018 15:02:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630226.617466,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692520.647859,VS0,VE448'] status: {code: 200, message: OK} - request: body: null @@ -719,7 +742,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":""}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":""}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -727,26 +750,26 @@ interactions: connection: [keep-alive] content-length: ['1150'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:46 GMT'] + date: ['Wed, 30 May 2018 15:02:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630226.130481,VS0,VE442'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692520.153395,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -757,26 +780,26 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:46 GMT'] + date: ['Wed, 30 May 2018 15:02:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630227.641486,VS0,VE149'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692520.365676,VS0,VE167'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2ElZpLWBqaLapYb4nPpjID/details + uri: https://api.fastly.com/service/2Yozki6zPwppbu2BgGnY85/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:13Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:14Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:32Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:22Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2ElZpLWBqaLapYb4nPpjID","staging":false,"created_at":"2018-05-29T21:43:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:45Z","deployed":false}],"created_at":"2018-05-29T21:43:13Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:13Z","id":"2ElZpLWBqaLapYb4nPpjID","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:27Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:47Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"2Yozki6zPwppbu2BgGnY85","staging":false,"created_at":"2018-05-30T15:01:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:59Z","deployed":false}],"created_at":"2018-05-30T15:01:27Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:01:27Z","id":"2Yozki6zPwppbu2BgGnY85","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t - %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:45Z","active":true,"number":4,"service_id":"2ElZpLWBqaLapYb4nPpjID","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:59Z","active":true,"number":4,"service_id":"2Yozki6zPwppbu2BgGnY85","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"s3s":[{"placement":null,"format_version":"2","response_condition":"","gzip_level":"0","public_key":null,"secret_key":"SECRET","server_side_encryption_kms_key_id":null,"period":"60","message_type":"classic","name":"test_s3","server_side_encryption":null,"bucket_name":"prod-fastly-logs","timestamp_format":"%Y-%m-%dT%H:%M:%S.000","domain":"example8000.com","redundancy":"standard","path":"/","access_key":"ACCESS_KEY","format":"%{%Y-%m-%dT%H:%S.000}t %h \"%r\" %\u003es %b"}]}}'} @@ -787,13 +810,13 @@ interactions: connection: [keep-alive] content-length: ['5409'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:46 GMT'] + date: ['Wed, 30 May 2018 15:02:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630227.864419,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692521.585998,VS0,VE126'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s_remove.yml b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml similarity index 66% rename from tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s_remove.yml rename to tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml index d829475..512e0b3 100644 --- a/tests/fixtures/cassettes/TestFastlyS3s_test_fastly_s3s_remove.yml +++ b/tests/fixtures/cassettes/TestFastlyLoggingS3_test_fastly_s3s_remove.yml @@ -10,19 +10,18 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:48 GMT'] + date: ['Wed, 30 May 2018 15:02:02 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630229.534169,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692522.228750,VS0,VE120'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +31,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"d9f49b1ab576116b22f4b9cf28d9f4057cbba4ea","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:43:49Z","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} + Ansible Module Test","publish_key":"5a00bd7bd2b725463d7ec8f7d58f851fa3879f92","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:02:02Z","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:49 GMT'] - fastly-ratelimit-remaining: ['917'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:02 GMT'] + fastly-ratelimit-remaining: ['952'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630229.730897,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692522.405372,VS0,VE440'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:49Z","active":false,"number":1,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:43:49Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:02Z","active":false,"number":1,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:02:02Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +64,70 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:49 GMT'] + date: ['Wed, 30 May 2018 15:02:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630229.199158,VS0,VE441'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692523.903402,VS0,VE168'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/1/clone + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:50 GMT'] - fastly-ratelimit-remaining: ['916'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:03 GMT'] + fastly-ratelimit-remaining: ['951'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692523.129093,VS0,VE497'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/domain + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630230.942018,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692524.684169,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/domain + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/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, 29 May 2018 21:43:50 GMT'] + date: ['Wed, 30 May 2018 15:02:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630230.451985,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692524.871822,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/healthcheck + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/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, 29 May 2018 21:43:51 GMT'] + date: ['Wed, 30 May 2018 15:02:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630231.890215,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692524.053200,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/condition + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/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, 29 May 2018 21:43:51 GMT'] + date: ['Wed, 30 May 2018 15:02:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630231.322988,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692524.230315,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/backend + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/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, 29 May 2018 21:43:51 GMT'] + date: ['Wed, 30 May 2018 15:02:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630232.510736,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692524.410957,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/director + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/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, 29 May 2018 21:43:51 GMT'] + date: ['Wed, 30 May 2018 15:02:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630232.737977,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692525.591137,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/cache_settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/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, 29 May 2018 21:43:52 GMT'] + date: ['Wed, 30 May 2018 15:02:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630232.929566,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692525.776269,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/gzip + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/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, 29 May 2018 21:43:52 GMT'] + date: ['Wed, 30 May 2018 15:02:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630232.362485,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692525.947979,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/header + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/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, 29 May 2018 21:43:52 GMT'] + date: ['Wed, 30 May 2018 15:02:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630233.554434,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692525.141683,VS0,VE387'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/request_settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/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, 29 May 2018 21:43:52 GMT'] + date: ['Wed, 30 May 2018 15:02:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630233.749209,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692526.589182,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/response_object + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/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, 29 May 2018 21:43:53 GMT'] + date: ['Wed, 30 May 2018 15:02:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630233.980379,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692526.774868,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/snippet + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +377,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:53 GMT'] + date: ['Wed, 30 May 2018 15:02:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630233.425130,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692526.217958,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/logging/s3 + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -378,97 +401,97 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:53 GMT'] + date: ['Wed, 30 May 2018 15:02:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630234.864720,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692526.394009,VS0,VE127'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/domain + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":2,"deleted_at":null,"created_at":"2018-05-29T21:43:54Z","updated_at":"2018-05-29T21:43:54Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":2,"deleted_at":null,"created_at":"2018-05-30T15:02:06Z","updated_at":"2018-05-30T15:02:06Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:54 GMT'] - fastly-ratelimit-remaining: ['915'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:06 GMT'] + fastly-ratelimit-remaining: ['950'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630234.057285,VS0,VE184'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692527.578454,VS0,VE211'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/backend + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:43:54Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:43:54Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:06Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:06Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:54 GMT'] - fastly-ratelimit-remaining: ['914'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:07 GMT'] + fastly-ratelimit-remaining: ['949'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630234.316445,VS0,VE169'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692527.849964,VS0,VE217'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/header + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"2","updated_at":"2018-05-29T21:43:54Z","deleted_at":null,"created_at":"2018-05-29T21:43:54Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"2","updated_at":"2018-05-30T15:02:07Z","deleted_at":null,"created_at":"2018-05-30T15:02:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:54 GMT'] - fastly-ratelimit-remaining: ['913'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:07 GMT'] + fastly-ratelimit-remaining: ['948'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630235.559505,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692527.124301,VS0,VE446'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -476,87 +499,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/response_object + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"2tI8MfAHvk4zqv70RFDCq6","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:43:55Z","updated_at":"2018-05-29T21:43:55Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"3C4FPwHsDEzBLF43Z63Ql4","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:08Z","updated_at":"2018-05-30T15:02:08Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:55 GMT'] - fastly-ratelimit-remaining: ['912'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:08 GMT'] + fastly-ratelimit-remaining: ['947'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630235.137780,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692528.633527,VS0,VE444'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/settings + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"2tI8MfAHvk4zqv70RFDCq6"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:55 GMT'] - fastly-ratelimit-remaining: ['911'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:08 GMT'] + fastly-ratelimit-remaining: ['946'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] - x-timer: ['S1527630235.365847,VS0,VE462'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692528.138686,VS0,VE173'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/version/2/activate + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:55Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:56 GMT'] - fastly-ratelimit-remaining: ['910'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:09 GMT'] + fastly-ratelimit-remaining: ['945'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630236.974935,VS0,VE879'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692528.371619,VS0,VE634'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -566,14 +589,14 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:57 GMT'] + date: ['Wed, 30 May 2018 15:02:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630237.925914,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692529.063395,VS0,VE151'] status: {code: 200, message: OK} - request: body: null @@ -582,32 +605,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":""}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":""}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:57 GMT'] + date: ['Wed, 30 May 2018 15:02:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630237.149203,VS0,VE446'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692529.269522,VS0,VE415'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -617,25 +640,25 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:57 GMT'] + date: ['Wed, 30 May 2018 15:02:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630238.676655,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692530.746018,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/2tI8MfAHvk4zqv70RFDCq6/details + uri: https://api.fastly.com/service/3C4FPwHsDEzBLF43Z63Ql4/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:49Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"2tI8MfAHvk4zqv70RFDCq6","staging":false,"created_at":"2018-05-29T21:43:50Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:43:56Z","deployed":false}],"created_at":"2018-05-29T21:43:49Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:43:49Z","id":"2tI8MfAHvk4zqv70RFDCq6","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:02Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","staging":false,"created_at":"2018-05-30T15:02:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:08Z","deployed":false}],"created_at":"2018-05-30T15:02:02Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:02Z","id":"3C4FPwHsDEzBLF43Z63Ql4","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:43:56Z","active":true,"number":2,"service_id":"2tI8MfAHvk4zqv70RFDCq6","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:50Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:08Z","active":true,"number":2,"service_id":"3C4FPwHsDEzBLF43Z63Ql4","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -645,13 +668,13 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:57 GMT'] + date: ['Wed, 30 May 2018 15:02:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630238.857283,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692530.933295,VS0,VE132'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_tearDown.yml b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_tearDown.yml new file mode 100644 index 0000000..f35a860 --- /dev/null +++ b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_tearDown.yml @@ -0,0 +1,106 @@ +interactions: +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":""}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj"}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['686'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:23 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692723.043407,VS0,VE148'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4679'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:23 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692723.248898,VS0,VE123'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/deactivate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['231'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:23 GMT'] + fastly-ratelimit-remaining: ['742'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692723.431283,VS0,VE502'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:24 GMT'] + fastly-ratelimit-remaining: ['741'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692724.991036,VS0,VE152'] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog.yml b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog.yml new file mode 100644 index 0000000..7ff44ae --- /dev/null +++ b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog.yml @@ -0,0 +1,716 @@ +interactions: +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test + response: + body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load + service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['111'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:11 GMT'] + status: [404 Not Found] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692711.958132,VS0,VE410'] + status: {code: 404, message: Not Found} +- request: + body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service + response: + body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly + Ansible Module Test","publish_key":"606c364a76abf7535c7df7553fc5f4b94c3ba77b","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:11Z","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['512'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:11 GMT'] + fastly-ratelimit-remaining: ['751'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692711.422152,VS0,VE408'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:11Z","active":false,"number":1,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:11Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['1107'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:12 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692712.888481,VS0,VE458'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/1/clone + response: + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['232'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:12 GMT'] + fastly-ratelimit-remaining: ['750'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692712.405904,VS0,VE499'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/domain + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:13 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692713.177099,VS0,VE128'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/healthcheck + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:13 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692713.361775,VS0,VE418'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/condition + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:13 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692714.836856,VS0,VE122'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/backend + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:14 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692714.026770,VS0,VE119'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/director + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:14 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692714.200176,VS0,VE394'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/cache_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:15 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692715.652960,VS0,VE391'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/gzip + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:15 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692715.097811,VS0,VE421'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/header + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:15 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692716.570731,VS0,VE386'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/request_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:16 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692716.012041,VS0,VE384'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/response_object + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:16 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692716.454649,VS0,VE391'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:17 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692717.896510,VS0,VE451'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/logging/s3 + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:17 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692717.402545,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:17 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692718.576787,VS0,VE168'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"comment": "", "name": "example8000.com"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/domain + response: + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6ccs48y0DOyL7boPDXoMOj","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:18Z","updated_at":"2018-05-30T15:05:18Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['179'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:18 GMT'] + fastly-ratelimit-remaining: ['749'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692718.800428,VS0,VE490'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": + "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": + null, "shield": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/backend + response: + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6ccs48y0DOyL7boPDXoMOj","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:18Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:18Z","comment":""}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['716'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:18 GMT'] + fastly-ratelimit-remaining: ['748'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692718.346296,VS0,VE445'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": + null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/header + response: + body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6ccs48y0DOyL7boPDXoMOj","version":"2","updated_at":"2018-05-30T15:05:19Z","deleted_at":null,"created_at":"2018-05-30T15:05:19Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['413'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:19 GMT'] + fastly-ratelimit-remaining: ['747'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692719.847149,VS0,VE446'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set + 200 status code", "content": "", "content_type": "", "response": "Ok"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/response_object + response: + body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6ccs48y0DOyL7boPDXoMOj","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:19Z","updated_at":"2018-05-30T15:05:19Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['278'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:19 GMT'] + fastly-ratelimit-remaining: ['746'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692719.348382,VS0,VE413'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"tls_ca_cert": null, "placement": null, "name": "test_syslog", + "format_version": 2, "format": "%h %l %u %t \"%r\" %>s %b", "hostname": "syslog.example.com", + "use_tls": 0, "tls_hostname": null, "token": "[abc 123]", "address": "syslog.example.com", + "message_type": "classic", "port": 514, "response_condition": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/logging/syslog + response: + body: {string: !!python/unicode '{"tls_ca_cert":null,"placement":null,"name":"test_syslog","format_version":"2","format":"%h + %l %u %t \"%r\" %\u003es %b","hostname":"syslog.example.com","use_tls":"0","tls_hostname":null,"token":"[abc + 123]","address":"syslog.example.com","message_type":"classic","port":514,"response_condition":"","service_id":"6ccs48y0DOyL7boPDXoMOj","version":"2","public_key":null,"updated_at":"2018-05-30T15:05:19Z","ipv4":null,"deleted_at":null,"created_at":"2018-05-30T15:05:19Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['470'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:19 GMT'] + fastly-ratelimit-remaining: ['745'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692720.820129,VS0,VE166'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"general.default_ttl": 3600}' + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/settings + response: + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6ccs48y0DOyL7boPDXoMOj"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['194'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:20 GMT'] + fastly-ratelimit-remaining: ['744'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692720.045924,VS0,VE181'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/version/2/activate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:19Z","deployed":false,"msg":null}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['241'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:21 GMT'] + fastly-ratelimit-remaining: ['743'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692720.284030,VS0,VE1528'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4679'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692722.868877,VS0,VE188'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":""}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['686'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692722.115738,VS0,VE484'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4679'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692723.660007,VS0,VE132'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6ccs48y0DOyL7boPDXoMOj/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6ccs48y0DOyL7boPDXoMOj","staging":false,"created_at":"2018-05-30T15:05:12Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:21Z","deployed":false}],"created_at":"2018-05-30T15:05:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:11Z","id":"6ccs48y0DOyL7boPDXoMOj","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:21Z","active":true,"number":2,"service_id":"6ccs48y0DOyL7boPDXoMOj","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:12Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":"[abc + 123]","format":"%h %l %u %t \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4679'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692723.848080,VS0,VE119'] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog_remove.yml b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog_remove.yml new file mode 100644 index 0000000..78c862f --- /dev/null +++ b/tests/fixtures/cassettes/TestFastlyLoggingSyslog_test_fastly_logging_syslog_remove.yml @@ -0,0 +1,1341 @@ +interactions: +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test + response: + body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load + service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['111'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:24 GMT'] + status: [404 Not Found] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692724.207690,VS0,VE126'] + status: {code: 404, message: Not Found} +- request: + body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service + response: + body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly + Ansible Module Test","publish_key":"3e76d9d0a2964ee82216f3a979d021a631863bba","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:24Z","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['512'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:24 GMT'] + fastly-ratelimit-remaining: ['740'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692724.390020,VS0,VE431'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:24Z","active":false,"number":1,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:24Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['1107'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:25 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692725.879485,VS0,VE451'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/1/clone + response: + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['232'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:25 GMT'] + fastly-ratelimit-remaining: ['739'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692725.389086,VS0,VE220'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/domain + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:26 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692726.659877,VS0,VE406'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/healthcheck + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:26 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692726.114026,VS0,VE407'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/condition + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:26 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692727.572563,VS0,VE121'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/backend + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:27 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692727.743663,VS0,VE420'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/director + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:27 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692727.221103,VS0,VE121'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/cache_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:27 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692727.401392,VS0,VE384'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/gzip + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:28 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692728.843223,VS0,VE408'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/header + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:28 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692728.304341,VS0,VE128'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/request_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:28 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692728.489992,VS0,VE128'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/response_object + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:29 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692729.675174,VS0,VE417'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:29 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692729.150043,VS0,VE122'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/logging/s3 + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:29 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692729.331007,VS0,VE143'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:29 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692730.534997,VS0,VE171'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"comment": "", "name": "example8000.com"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/domain + response: + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:30Z","updated_at":"2018-05-30T15:05:30Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['179'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:30 GMT'] + fastly-ratelimit-remaining: ['738'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692730.764929,VS0,VE475'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": + "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": + null, "shield": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/backend + response: + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:30Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:30Z","comment":""}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['716'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:30 GMT'] + fastly-ratelimit-remaining: ['737'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692730.299705,VS0,VE164'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": + null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/header + response: + body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"2","updated_at":"2018-05-30T15:05:30Z","deleted_at":null,"created_at":"2018-05-30T15:05:30Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['413'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:30 GMT'] + fastly-ratelimit-remaining: ['736'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692731.522497,VS0,VE168'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set + 200 status code", "content": "", "content_type": "", "response": "Ok"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/response_object + response: + body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:30Z","updated_at":"2018-05-30T15:05:30Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['278'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:30 GMT'] + fastly-ratelimit-remaining: ['735'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692731.742204,VS0,VE151'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"tls_ca_cert": null, "placement": null, "name": "test_syslog", + "format_version": 2, "format": "%{%Y-%m-%dT%H:%M:%S}t %h \"%r\" %>s %b", "hostname": + "syslog.example.com", "use_tls": 0, "tls_hostname": null, "token": null, "address": + "syslog.example.com", "message_type": "classic", "port": 514, "response_condition": + null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/logging/syslog + response: + body: {string: !!python/unicode '{"tls_ca_cert":null,"placement":null,"name":"test_syslog","format_version":"2","format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b","hostname":"syslog.example.com","use_tls":"0","tls_hostname":null,"token":null,"address":"syslog.example.com","message_type":"classic","port":514,"response_condition":"","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"2","public_key":null,"updated_at":"2018-05-30T15:05:31Z","ipv4":null,"deleted_at":null,"created_at":"2018-05-30T15:05:31Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['476'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:31 GMT'] + fastly-ratelimit-remaining: ['734'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692731.952570,VS0,VE423'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"general.default_ttl": 3600}' + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/settings + response: + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6rElV0zbjcM0l9pH1uS9qK"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['194'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:31 GMT'] + fastly-ratelimit-remaining: ['733'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692731.436308,VS0,VE450'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/activate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:31Z","deployed":false,"msg":null}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['241'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:33 GMT'] + fastly-ratelimit-remaining: ['732'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692732.937075,VS0,VE1316'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:33Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4691'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:33 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692733.309382,VS0,VE150'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['686'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:33 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692734.518683,VS0,VE151'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:33Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:33Z","active":true,"number":2,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:25Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0},"syslogs":[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","public_key":null,"address":"syslog.example.com","ipv4":null,"message_type":"classic","tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","tls_ca_cert":null,"token":null,"format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4691'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:33 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692734.727222,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/2/clone + response: + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:33Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['232'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:34 GMT'] + fastly-ratelimit-remaining: ['731'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692734.909335,VS0,VE505'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/domain + response: + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","created_at":"2018-05-30T15:05:30Z","comment":"","updated_at":"2018-05-30T15:05:30Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['181'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:34 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692734.474999,VS0,VE122'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/healthcheck + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:34 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692735.656522,VS0,VE126'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/condition + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:34 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692735.842496,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/backend + response: + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:05:30Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:05:30Z","comment":""}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['718'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:35 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692735.021516,VS0,VE397'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/director + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:35 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692735.478676,VS0,VE127'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/cache_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:35 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692736.663680,VS0,VE164'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/gzip + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:36 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692736.887191,VS0,VE390'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/header + response: + body: {string: !!python/unicode '[{"priority":"100","service_id":"6rElV0zbjcM0l9pH1uS9qK","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:05:30Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:05:30Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['415'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:36 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692736.336446,VS0,VE392'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/request_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:36 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692737.786439,VS0,VE132'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/response_object + response: + body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set + 200 status code","content":"","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","cache_condition":"","created_at":"2018-05-30T15:05:30Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:05:30Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['280'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:37 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692737.977300,VS0,VE129'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:37 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692737.165298,VS0,VE117'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/logging/s3 + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:37 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692737.342692,VS0,VE130'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/logging/syslog + response: + body: {string: !!python/unicode '[{"placement":null,"format_version":"2","hostname":"syslog.example.com","response_condition":"","address":"syslog.example.com","public_key":null,"updated_at":"2018-05-30T15:05:34Z","message_type":"classic","ipv4":null,"tls_hostname":null,"name":"test_syslog","port":"514","use_tls":"0","service_id":"6rElV0zbjcM0l9pH1uS9qK","tls_ca_cert":null,"token":null,"version":"3","deleted_at":null,"created_at":"2018-05-30T15:05:31Z","format":"%{%Y-%m-%dT%H:%M:%S}t + %h \"%r\" %\u003es %b"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['480'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:37 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692738.531818,VS0,VE127'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/domain/example8000.com + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:38 GMT'] + fastly-ratelimit-remaining: ['730'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692738.724810,VS0,VE438'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/backend/localhost + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:38 GMT'] + fastly-ratelimit-remaining: ['729'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692738.219742,VS0,VE181'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/header/Set%20Location%20header + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:38 GMT'] + fastly-ratelimit-remaining: ['728'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692738.458783,VS0,VE202'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/response_object/Set%20200%20status%20code + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:39 GMT'] + fastly-ratelimit-remaining: ['727'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692739.719834,VS0,VE499'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/logging/syslog/test_syslog + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:39 GMT'] + fastly-ratelimit-remaining: ['726'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692739.273058,VS0,VE196'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"comment": "", "name": "example8000.com"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/domain + response: + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":3,"deleted_at":null,"created_at":"2018-05-30T15:05:39Z","updated_at":"2018-05-30T15:05:39Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['179'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:39 GMT'] + fastly-ratelimit-remaining: ['725'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692740.525841,VS0,VE217'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": + "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": + null, "shield": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/backend + response: + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:40Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:40Z","comment":""}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['716'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:40 GMT'] + fastly-ratelimit-remaining: ['724'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692740.799791,VS0,VE468'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": + null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/header + response: + body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"3","updated_at":"2018-05-30T15:05:40Z","deleted_at":null,"created_at":"2018-05-30T15:05:40Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['413'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:40 GMT'] + fastly-ratelimit-remaining: ['723'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692740.330979,VS0,VE459'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set + 200 status code", "content": "", "content_type": "", "response": "Ok"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/response_object + response: + body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:41Z","updated_at":"2018-05-30T15:05:41Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['278'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:41 GMT'] + fastly-ratelimit-remaining: ['722'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692741.845316,VS0,VE423'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"general.default_ttl": 3600}' + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/settings + response: + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"6rElV0zbjcM0l9pH1uS9qK"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['194'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:41 GMT'] + fastly-ratelimit-remaining: ['721'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692741.319790,VS0,VE453'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/activate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:41Z","deployed":false,"msg":null}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['241'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:42 GMT'] + fastly-ratelimit-remaining: ['720'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692742.827670,VS0,VE877'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details + response: + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['4225'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:42 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692743.762981,VS0,VE157'] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml index 1fe665c..31bb3c8 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_tearDown.yml @@ -6,33 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":""}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['1150'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:36 GMT'] + date: ['Wed, 30 May 2018 15:05:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630456.379748,VS0,VE193'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692752.254762,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/details + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -40,48 +40,48 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4577'] + content-length: ['5041'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:36 GMT'] + date: ['Wed, 30 May 2018 15:05:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630457.645469,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692752.454500,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/deactivate + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:37 GMT'] + date: ['Wed, 30 May 2018 15:05:52 GMT'] fastly-ratelimit-remaining: ['707'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630457.861674,VS0,VE490'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692753.628694,VS0,VE204'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:37 GMT'] + date: ['Wed, 30 May 2018 15:05:53 GMT'] fastly-ratelimit-remaining: ['706'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630457.422537,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692753.889699,VS0,VE510'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml index dfd28ef..ee4f278 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_request_setting_defaults.yml @@ -6,104 +6,105 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"msg":"Record not found","detail":"Cannot load - service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['111'] + content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:23 GMT'] - status: [404 Not Found] + date: ['Wed, 30 May 2018 15:05:43 GMT'] + status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630443.786639,VS0,VE401'] - status: {code: 404, message: Not Found} + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692743.043944,VS0,VE153'] + status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' + body: null headers: Content-Type: [application/json] - method: POST - uri: https://api.fastly.com/service + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details response: - body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"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"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:42Z","active":true,"number":3,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:34Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['512'] + content-length: ['4225'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:23 GMT'] - fastly-ratelimit-remaining: ['716'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630443.259520,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692743.255038,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/details + method: PUT + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/3/clone response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:23Z","active":false,"number":1,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:47:23Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['1107'] + content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:23 GMT'] + date: ['Wed, 30 May 2018 15:05:43 GMT'] + fastly-ratelimit-remaining: ['719'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630444.751922,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692743.441150,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/1/clone + method: GET + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/domain response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false}'} + body: {string: !!python/unicode '[{"version":4,"name":"example8000.com","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","created_at":"2018-05-30T15:05:39Z","comment":"","updated_at":"2018-05-30T15:05:39Z"}]'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['232'] + content-length: ['181'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:24 GMT'] - fastly-ratelimit-remaining: ['715'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630444.973581,VS0,VE234'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692744.971937,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/domain + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:24 GMT'] + date: ['Wed, 30 May 2018 15:05:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630444.281279,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692744.153513,VS0,VE407'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/healthcheck + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/condition response: body: {string: !!python/unicode '[]'} headers: @@ -137,45 +138,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:25 GMT'] + date: ['Wed, 30 May 2018 15:05:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630445.753684,VS0,VE475'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692745.613720,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/condition + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/backend response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:05:40Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:05:40Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:25 GMT'] + date: ['Wed, 30 May 2018 15:05:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630445.301835,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692745.790136,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/backend + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/director response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:25 GMT'] + date: ['Wed, 30 May 2018 15:05:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630445.487423,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692745.976290,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/director + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:26 GMT'] + date: ['Wed, 30 May 2018 15:05:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630446.970255,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692745.154729,VS0,VE407'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/cache_settings + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -233,45 +234,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:26 GMT'] + date: ['Wed, 30 May 2018 15:05:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630446.408983,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692746.620490,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/gzip + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/header response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"6rElV0zbjcM0l9pH1uS9qK","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:05:40Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"4","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:05:40Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:26 GMT'] + date: ['Wed, 30 May 2018 15:05:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630447.593638,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692746.800228,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/header + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -281,45 +283,46 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:27 GMT'] + date: ['Wed, 30 May 2018 15:05:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630447.029684,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692746.983339,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/request_settings + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/response_object response: - body: {string: !!python/unicode '[]'} + body: {string: !!python/unicode '[{"response":"Ok","version":"4","status":"200","name":"Set + 200 status code","content":"","deleted_at":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","cache_condition":"","created_at":"2018-05-30T15:05:41Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:05:41Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] + content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:27 GMT'] + date: ['Wed, 30 May 2018 15:05:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630448.506938,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692746.171958,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/response_object + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -329,21 +332,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:28 GMT'] + date: ['Wed, 30 May 2018 15:05:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630448.739476,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692746.353234,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/snippet + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -353,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:28 GMT'] + date: ['Wed, 30 May 2018 15:05:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630448.215026,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692747.528603,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/logging/s3 + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -377,125 +380,225 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:28 GMT'] + date: ['Wed, 30 May 2018 15:05:46 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630448.443070,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692747.709170,VS0,VE122'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/domain/example8000.com + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:47 GMT'] + fastly-ratelimit-remaining: ['718'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692747.892728,VS0,VE433'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/backend/localhost + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:47 GMT'] + fastly-ratelimit-remaining: ['717'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692747.384299,VS0,VE453'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/header/Set%20Location%20header + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:48 GMT'] + fastly-ratelimit-remaining: ['716'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692748.895534,VS0,VE450'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/response_object/Set%20200%20status%20code + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:48 GMT'] + fastly-ratelimit-remaining: ['715'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692748.394871,VS0,VE439'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/domain + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":2,"deleted_at":null,"created_at":"2018-05-29T21:47:29Z","updated_at":"2018-05-29T21:47:29Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":4,"deleted_at":null,"created_at":"2018-05-30T15:05:49Z","updated_at":"2018-05-30T15:05:49Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:29 GMT'] + date: ['Wed, 30 May 2018 15:05:49 GMT'] fastly-ratelimit-remaining: ['714'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630449.883457,VS0,VE442'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692749.903047,VS0,VE211'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/backend + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:29Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:29Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:49Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:49Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:29 GMT'] + date: ['Wed, 30 May 2018 15:05:49 GMT'] fastly-ratelimit-remaining: ['713'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630449.401053,VS0,VE423'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692749.167646,VS0,VE174'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/header + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":"2","updated_at":"2018-05-29T21:47:30Z","deleted_at":null,"created_at":"2018-05-29T21:47:30Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"4","updated_at":"2018-05-30T15:05:49Z","deleted_at":null,"created_at":"2018-05-30T15:05:49Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:30 GMT'] + date: ['Wed, 30 May 2018 15:05:49 GMT'] fastly-ratelimit-remaining: ['712'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630450.902284,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692749.391086,VS0,VE155'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"request_condition": "", "name": "request-setting-config-name", - "force_miss": 1, "xff": "append", "bypass_busy_wait": 1, "timer_support": 1, + "force_miss": 1, "xff": "append", "bypass_busy_wait": 1, "hash_keys": "req.url,req.http.host,req.http.Fastly-SSL", "force_ssl": 1, "action": "pass", "geo_headers": 1, "default_host": "example.net", - "hash_keys": "req.url,req.http.host,req.http.Fastly-SSL", "max_stale_age": 30}' + "timer_support": 1, "max_stale_age": 30}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/request_settings + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/request_settings response: - body: {string: !!python/unicode '{"request_condition":"","name":"request-setting-config-name","force_miss":"1","xff":"append","bypass_busy_wait":"1","timer_support":"1","force_ssl":"1","action":"pass","geo_headers":"1","default_host":"example.net","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":30,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":"2","updated_at":"2018-05-29T21:47:30Z","deleted_at":null,"created_at":"2018-05-29T21:47:30Z"}'} + body: {string: !!python/unicode '{"request_condition":"","name":"request-setting-config-name","force_miss":"1","xff":"append","bypass_busy_wait":"1","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","force_ssl":"1","action":"pass","geo_headers":"1","default_host":"example.net","timer_support":"1","max_stale_age":30,"service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"4","updated_at":"2018-05-30T15:05:49Z","deleted_at":null,"created_at":"2018-05-30T15:05:49Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['432'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:30 GMT'] + date: ['Wed, 30 May 2018 15:05:50 GMT'] fastly-ratelimit-remaining: ['711'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630450.418447,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692750.595587,VS0,VE422'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -503,87 +606,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/response_object + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"6mbvVCMVfNi3ZUoQkg4oCW","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:31Z","updated_at":"2018-05-29T21:47:31Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6rElV0zbjcM0l9pH1uS9qK","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:50Z","updated_at":"2018-05-30T15:05:50Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:31 GMT'] + date: ['Wed, 30 May 2018 15:05:50 GMT'] fastly-ratelimit-remaining: ['710'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630451.891957,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692750.068382,VS0,VE149'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/settings + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"6rElV0zbjcM0l9pH1uS9qK"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:32 GMT'] + date: ['Wed, 30 May 2018 15:05:50 GMT'] fastly-ratelimit-remaining: ['709'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630451.362201,VS0,VE1010'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692750.267523,VS0,VE182'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/version/2/activate + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/version/4/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:31Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:50Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:35 GMT'] + date: ['Wed, 30 May 2018 15:05:51 GMT'] fastly-ratelimit-remaining: ['708'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630452.450103,VS0,VE2591'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692751.501578,VS0,VE926'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/details + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -591,16 +694,16 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4577'] + content-length: ['5041'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:35 GMT'] + date: ['Wed, 30 May 2018 15:05:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630455.114062,VS0,VE519'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692751.479636,VS0,VE155'] status: {code: 200, message: OK} - request: body: null @@ -609,60 +712,60 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":""}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":""}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['686'] + content-length: ['1150'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:35 GMT'] + date: ['Wed, 30 May 2018 15:05:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630456.708973,VS0,VE174'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692752.688746,VS0,VE153'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/details + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4577'] + content-length: ['5041'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:36 GMT'] + date: ['Wed, 30 May 2018 15:05:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630456.961087,VS0,VE128'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692752.891457,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6mbvVCMVfNi3ZUoQkg4oCW/details + uri: https://api.fastly.com/service/6rElV0zbjcM0l9pH1uS9qK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","staging":false,"created_at":"2018-05-29T21:47:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:34Z","deployed":false}],"created_at":"2018-05-29T21:47:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:23Z","id":"6mbvVCMVfNi3ZUoQkg4oCW","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:24Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:25Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:42Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:34Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"6rElV0zbjcM0l9pH1uS9qK","staging":false,"created_at":"2018-05-30T15:05:43Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:51Z","deployed":false}],"created_at":"2018-05-30T15:05:24Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:24Z","id":"6rElV0zbjcM0l9pH1uS9qK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:34Z","active":true,"number":2,"service_id":"6mbvVCMVfNi3ZUoQkg4oCW","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:51Z","active":true,"number":4,"service_id":"6rElV0zbjcM0l9pH1uS9qK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:43Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[{"force_ssl":"1","geo_headers":"1","name":"request-setting-config-name","default_host":"example.net","xff":"append","hash_keys":"req.url,req.http.host,req.http.Fastly-SSL","max_stale_age":"30","request_condition":"","action":"pass","force_miss":"1","timer_support":"1","bypass_busy_wait":"1"}],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -670,15 +773,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['4577'] + content-length: ['5041'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:36 GMT'] + date: ['Wed, 30 May 2018 15:05:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630456.163710,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692752.063478,VS0,VE119'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml index d3abb14..86fa39c 100644 --- a/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml +++ b/tests/fixtures/cassettes/TestFastlyRequestSetting_test_fastly_response_object_content_content_type.yml @@ -10,19 +10,18 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:38 GMT'] + date: ['Wed, 30 May 2018 15:05:53 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630458.893967,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692753.458963,VS0,VE157'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +31,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"aa77951407e41e3ff9599ee4c78b8c78296f2b98","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:47:38Z","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} + Ansible Module Test","publish_key":"7ac8f7d4929baa024c974fd1491c30c5eb54991f","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:38 GMT'] + date: ['Wed, 30 May 2018 15:05:54 GMT'] fastly-ratelimit-remaining: ['705'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630458.100976,VS0,VE389'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692754.670107,VS0,VE441'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:38Z","active":false,"number":1,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:47:38Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:54Z","active":false,"number":1,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +64,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:38 GMT'] + date: ['Wed, 30 May 2018 15:05:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630459.561668,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692754.169020,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/1/clone + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:39 GMT'] + date: ['Wed, 30 May 2018 15:05:54 GMT'] fastly-ratelimit-remaining: ['704'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630459.783422,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692754.379235,VS0,VE479'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/domain + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:39 GMT'] + date: ['Wed, 30 May 2018 15:05:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630459.296428,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692755.908647,VS0,VE163'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/healthcheck + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +137,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:39 GMT'] + date: ['Wed, 30 May 2018 15:05:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630460.807248,VS0,VE166'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692755.121698,VS0,VE415'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/condition + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:40 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630460.047625,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692756.589946,VS0,VE482'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/backend + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:40 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630460.493473,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692756.124363,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/director + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:41 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630461.936028,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692756.301611,VS0,VE162'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/cache_settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +233,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:41 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630461.449232,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692757.520861,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/gzip + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +257,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:42 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630462.931661,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692757.701099,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/header + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +281,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:42 GMT'] + date: ['Wed, 30 May 2018 15:05:56 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630462.413861,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692757.874034,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/request_settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +305,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:42 GMT'] + date: ['Wed, 30 May 2018 15:05:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630463.851184,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692757.048904,VS0,VE171'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/response_object + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +329,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:43 GMT'] + date: ['Wed, 30 May 2018 15:05:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630463.047165,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692757.279994,VS0,VE423'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/snippet + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +353,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:43 GMT'] + date: ['Wed, 30 May 2018 15:05:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630463.239682,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692758.759260,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/logging/s3 + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,97 +377,121 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:44 GMT'] + date: ['Wed, 30 May 2018 15:05:58 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630464.680134,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692758.229156,VS0,VE166'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05:58 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692758.446530,VS0,VE446'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/domain + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":2,"deleted_at":null,"created_at":"2018-05-29T21:47:44Z","updated_at":"2018-05-29T21:47:44Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7OAhzqSh0dQSAyFB213yD2","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:59Z","updated_at":"2018-05-30T15:05:59Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:44 GMT'] + date: ['Wed, 30 May 2018 15:05:59 GMT'] fastly-ratelimit-remaining: ['703'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630464.172731,VS0,VE433'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692759.952056,VS0,VE218'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/backend + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:45Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:45Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:59Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:59Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:45 GMT'] + date: ['Wed, 30 May 2018 15:05:59 GMT'] fastly-ratelimit-remaining: ['702'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630465.680626,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692759.226481,VS0,VE177'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/header + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"2","updated_at":"2018-05-29T21:47:45Z","deleted_at":null,"created_at":"2018-05-29T21:47:45Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":"2","updated_at":"2018-05-30T15:05:59Z","deleted_at":null,"created_at":"2018-05-30T15:05:59Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:45 GMT'] + date: ['Wed, 30 May 2018 15:05:59 GMT'] fastly-ratelimit-remaining: ['701'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630465.162399,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692759.465538,VS0,VE433'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -477,103 +500,104 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/response_object + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:45Z","updated_at":"2018-05-29T21:47:45Z"}'} + 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"7OAhzqSh0dQSAyFB213yD2","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:06:00Z","updated_at":"2018-05-30T15:06:00Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['305'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:46 GMT'] + date: ['Wed, 30 May 2018 15:06:00 GMT'] fastly-ratelimit-remaining: ['700'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630466.638522,VS0,VE435'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692760.958263,VS0,VE161'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:46 GMT'] + date: ['Wed, 30 May 2018 15:06:00 GMT'] fastly-ratelimit-remaining: ['699'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630466.146426,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692760.177626,VS0,VE466'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/activate + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:46Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:00Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:47 GMT'] + date: ['Wed, 30 May 2018 15:06:01 GMT'] fastly-ratelimit-remaining: ['698'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630467.069542,VS0,VE870'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692761.698501,VS0,VE712'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:48 GMT'] + date: ['Wed, 30 May 2018 15:06:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630468.014916,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692761.469846,VS0,VE150'] status: {code: 200, message: OK} - request: body: null @@ -582,76 +606,75 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:48 GMT'] + date: ['Wed, 30 May 2018 15:06:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630468.276248,VS0,VE462'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692762.678202,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:49 GMT'] + date: ['Wed, 30 May 2018 15:06:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630469.456195,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692762.885348,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:50 GMT'] + date: ['Wed, 30 May 2018 15:06:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630471.670663,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692762.067305,VS0,VE127'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml index b619aec..ddd0537 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_tearDown.yml @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":""}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":""}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:46 GMT'] + date: ['Wed, 30 May 2018 15:04:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630406.236157,VS0,VE132'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692677.232220,VS0,VE151'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/details + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -42,46 +42,46 @@ interactions: connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:46 GMT'] + date: ['Wed, 30 May 2018 15:04:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630406.439997,VS0,VE133'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692677.439129,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/deactivate + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:47 GMT'] - fastly-ratelimit-remaining: ['750'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:38 GMT'] + fastly-ratelimit-remaining: ['785'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630407.647539,VS0,VE472'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692678.622173,VS0,VE476'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -90,15 +90,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:47 GMT'] - fastly-ratelimit-remaining: ['749'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:38 GMT'] + fastly-ratelimit-remaining: ['784'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630407.186540,VS0,VE424'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692678.158324,VS0,VE430'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml index 751b72c..d67b3a2 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_content_content_type.yml @@ -10,18 +10,19 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:37 GMT'] + date: ['Wed, 30 May 2018 15:04:28 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630397.789542,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692668.008560,VS0,VE125'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -31,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"7049d6fb7d1036d315162182275b7f43d864e496","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:46:37Z","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT"}'} + Ansible Module Test","publish_key":"79997d507d98220649b91623d7a85711d747398e","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:04:28Z","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:37 GMT'] - fastly-ratelimit-remaining: ['758'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:28 GMT'] + fastly-ratelimit-remaining: ['793'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630397.235133,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692668.192105,VS0,VE156'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/details + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:37Z","active":false,"number":1,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:46:37Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:28Z","active":false,"number":1,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:04:28Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -64,46 +65,70 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:38 GMT'] + date: ['Wed, 30 May 2018 15:04:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630398.707863,VS0,VE399'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692668.406777,VS0,VE490'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/1/clone + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:38 GMT'] - fastly-ratelimit-remaining: ['757'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:29 GMT'] + fastly-ratelimit-remaining: ['792'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692669.952802,VS0,VE464'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/domain + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630398.177016,VS0,VE449'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692669.474261,VS0,VE171'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/domain + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/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, 29 May 2018 21:46:38 GMT'] + date: ['Wed, 30 May 2018 15:04:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630399.701022,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692670.703862,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/healthcheck + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/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, 29 May 2018 21:46:39 GMT'] + date: ['Wed, 30 May 2018 15:04:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630399.885721,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692670.890189,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/condition + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/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, 29 May 2018 21:46:39 GMT'] + date: ['Wed, 30 May 2018 15:04:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630399.090121,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692670.111564,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/backend + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/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, 29 May 2018 21:46:39 GMT'] + date: ['Wed, 30 May 2018 15:04:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630399.280597,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692670.292598,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/director + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/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, 29 May 2018 21:46:39 GMT'] + date: ['Wed, 30 May 2018 15:04:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630400.714362,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692670.473548,VS0,VE386'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/cache_settings + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/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, 29 May 2018 21:46:40 GMT'] + date: ['Wed, 30 May 2018 15:04:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630400.901865,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692671.919104,VS0,VE390'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/gzip + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -257,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:40 GMT'] + date: ['Wed, 30 May 2018 15:04:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630400.095760,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692671.364286,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/header + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -281,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:40 GMT'] + date: ['Wed, 30 May 2018 15:04:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630400.286116,VS0,VE359'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692672.544200,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/request_settings + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -305,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:40 GMT'] + date: ['Wed, 30 May 2018 15:04:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630401.793033,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692672.733577,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/response_object + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -329,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:41 GMT'] + date: ['Wed, 30 May 2018 15:04:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630401.976313,VS0,VE132'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692672.907000,VS0,VE397'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/snippet + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -353,21 +378,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:41 GMT'] + date: ['Wed, 30 May 2018 15:04:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630401.184551,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692672.364106,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/logging/s3 + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -377,97 +402,97 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:41 GMT'] + date: ['Wed, 30 May 2018 15:04:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630401.378709,VS0,VE373'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692673.549865,VS0,VE409'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/domain + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5woSCM4smaL4MZsRWVcRAT","version":2,"deleted_at":null,"created_at":"2018-05-29T21:46:42Z","updated_at":"2018-05-29T21:46:42Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"5pifNA4PY7fglIORdqj4cK","version":2,"deleted_at":null,"created_at":"2018-05-30T15:04:33Z","updated_at":"2018-05-30T15:04:33Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:42 GMT'] - fastly-ratelimit-remaining: ['756'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:33 GMT'] + fastly-ratelimit-remaining: ['791'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630402.851211,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692673.015889,VS0,VE475'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/backend + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"5woSCM4smaL4MZsRWVcRAT","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:42Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:42Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5pifNA4PY7fglIORdqj4cK","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:33Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:33Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:42 GMT'] - fastly-ratelimit-remaining: ['755'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:34 GMT'] + fastly-ratelimit-remaining: ['790'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527630402.469941,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692674.551397,VS0,VE472'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/header + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"5woSCM4smaL4MZsRWVcRAT","version":"2","updated_at":"2018-05-29T21:46:43Z","deleted_at":null,"created_at":"2018-05-29T21:46:43Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5pifNA4PY7fglIORdqj4cK","version":"2","updated_at":"2018-05-30T15:04:34Z","deleted_at":null,"created_at":"2018-05-30T15:04:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:43 GMT'] - fastly-ratelimit-remaining: ['754'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:34 GMT'] + fastly-ratelimit-remaining: ['789'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630403.956828,VS0,VE400'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692674.078174,VS0,VE449'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -476,87 +501,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/response_object + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"5woSCM4smaL4MZsRWVcRAT","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:43Z","updated_at":"2018-05-29T21:46:43Z"}'} + 200 status code","content":"Hello from Fastly","content_type":"text/plain","response":"Ok","service_id":"5pifNA4PY7fglIORdqj4cK","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:34Z","updated_at":"2018-05-30T15:04:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['305'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:43 GMT'] - fastly-ratelimit-remaining: ['753'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:34 GMT'] + fastly-ratelimit-remaining: ['788'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630403.428834,VS0,VE433'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692675.584135,VS0,VE199'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/settings + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5woSCM4smaL4MZsRWVcRAT"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5pifNA4PY7fglIORdqj4cK"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:44 GMT'] - fastly-ratelimit-remaining: ['752'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:35 GMT'] + fastly-ratelimit-remaining: ['787'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630404.938351,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692675.839587,VS0,VE462'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/version/2/activate + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:43Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:34Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:45 GMT'] - fastly-ratelimit-remaining: ['751'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:36 GMT'] + fastly-ratelimit-remaining: ['786'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630404.438200,VS0,VE637'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692675.363217,VS0,VE639'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/details + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -566,14 +591,14 @@ interactions: connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:45 GMT'] + date: ['Wed, 30 May 2018 15:04:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630405.149624,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692676.060815,VS0,VE195'] status: {code: 200, message: OK} - request: body: null @@ -582,7 +607,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":""}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":""}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -590,25 +615,25 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:45 GMT'] + date: ['Wed, 30 May 2018 15:04:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630405.370565,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692676.314915,VS0,VE439'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/details + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -618,40 +643,41 @@ interactions: connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:45 GMT'] + date: ['Wed, 30 May 2018 15:04:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630406.844327,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692677.811934,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/5woSCM4smaL4MZsRWVcRAT/details + uri: https://api.fastly.com/service/5pifNA4PY7fglIORdqj4cK/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:37Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:37Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5woSCM4smaL4MZsRWVcRAT","staging":false,"created_at":"2018-05-29T21:46:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:44Z","deployed":false}],"created_at":"2018-05-29T21:46:37Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:37Z","id":"5woSCM4smaL4MZsRWVcRAT","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:28Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:28Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5pifNA4PY7fglIORdqj4cK","staging":false,"created_at":"2018-05-30T15:04:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:35Z","deployed":false}],"created_at":"2018-05-30T15:04:28Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:28Z","id":"5pifNA4PY7fglIORdqj4cK","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:44Z","active":true,"number":2,"service_id":"5woSCM4smaL4MZsRWVcRAT","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:38Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:35Z","active":true,"number":2,"service_id":"5pifNA4PY7fglIORdqj4cK","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:46 GMT'] + date: ['Wed, 30 May 2018 15:04:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630406.031339,VS0,VE105'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692677.999170,VS0,VE155'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml index 6958076..8270437 100644 --- a/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml +++ b/tests/fixtures/cassettes/TestFastlyResponseObject_test_fastly_response_object_defaults.yml @@ -10,18 +10,19 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:47 GMT'] + date: ['Wed, 30 May 2018 15:04:38 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630408.700423,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692679.654520,VS0,VE127'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -31,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"ab7eff5f2bc925782bc216ce7577af6490bec3af","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:46:47Z","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + Ansible Module Test","publish_key":"43d587e1ad93b4befacedaee874a1bef8a1c5945","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:04:38Z","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:48 GMT'] - fastly-ratelimit-remaining: ['748'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:38 GMT'] + fastly-ratelimit-remaining: ['783'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630408.891114,VS0,VE149'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692679.838682,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:47Z","active":false,"number":1,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:46:47Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:38Z","active":false,"number":1,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:04:38Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -64,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:48 GMT'] + date: ['Wed, 30 May 2018 15:04:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630408.115696,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692679.043028,VS0,VE190'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/1/clone + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:49 GMT'] - fastly-ratelimit-remaining: ['747'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:39 GMT'] + fastly-ratelimit-remaining: ['782'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630409.592099,VS0,VE467'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692679.291458,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/domain + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:49 GMT'] + date: ['Wed, 30 May 2018 15:04:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630409.144182,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692680.833468,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/healthcheck + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -137,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:49 GMT'] + date: ['Wed, 30 May 2018 15:04:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630409.328648,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692680.026586,VS0,VE407'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/condition + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -161,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:49 GMT'] + date: ['Wed, 30 May 2018 15:04:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630410.519659,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692680.492863,VS0,VE429'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/backend + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:50 GMT'] + date: ['Wed, 30 May 2018 15:04:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630410.963092,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692681.982017,VS0,VE435'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/director + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:50 GMT'] + date: ['Wed, 30 May 2018 15:04:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630410.152454,VS0,VE125'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692681.476142,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/cache_settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -233,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:50 GMT'] + date: ['Wed, 30 May 2018 15:04:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630410.353348,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692682.661907,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/gzip + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -257,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:50 GMT'] + date: ['Wed, 30 May 2018 15:04:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630411.543718,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692682.836189,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/header + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -281,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:51 GMT'] + date: ['Wed, 30 May 2018 15:04:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630411.026779,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692682.009961,VS0,VE382'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/request_settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -305,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:51 GMT'] + date: ['Wed, 30 May 2018 15:04:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630411.469331,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692682.447908,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/response_object + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -329,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:52 GMT'] + date: ['Wed, 30 May 2018 15:04:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630412.914102,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692683.622608,VS0,VE453'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/snippet + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -353,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:52 GMT'] + date: ['Wed, 30 May 2018 15:04:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630412.102002,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692683.133589,VS0,VE404'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/logging/s3 + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -377,97 +378,121 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:52 GMT'] + date: ['Wed, 30 May 2018 15:04:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630412.332748,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692684.598205,VS0,VE165'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:04:44 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692684.821778,VS0,VE448'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/domain + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":2,"deleted_at":null,"created_at":"2018-05-29T21:46:52Z","updated_at":"2018-05-29T21:46:52Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"61gZVpISLDZRhPdKKv5Imc","version":2,"deleted_at":null,"created_at":"2018-05-30T15:04:44Z","updated_at":"2018-05-30T15:04:44Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:52 GMT'] - fastly-ratelimit-remaining: ['746'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:44 GMT'] + fastly-ratelimit-remaining: ['781'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630413.522885,VS0,VE458'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692684.329598,VS0,VE536'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/backend + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:46:53Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"ipv6":null,"min_tls_version":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:46:53Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:04:45Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:04:45Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:53 GMT'] - fastly-ratelimit-remaining: ['745'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:45 GMT'] + fastly-ratelimit-remaining: ['780'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630413.057476,VS0,VE432'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692685.925269,VS0,VE175'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/header + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"2","updated_at":"2018-05-29T21:46:53Z","deleted_at":null,"created_at":"2018-05-29T21:46:53Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"61gZVpISLDZRhPdKKv5Imc","version":"2","updated_at":"2018-05-30T15:04:45Z","deleted_at":null,"created_at":"2018-05-30T15:04:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:53 GMT'] - fastly-ratelimit-remaining: ['744'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:45 GMT'] + fastly-ratelimit-remaining: ['779'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630414.562832,VS0,VE398'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692685.157440,VS0,VE156'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -475,87 +500,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/response_object + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"68WOxTbzDdhJRnMwEEJ4Oe","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:46:54Z","updated_at":"2018-05-29T21:46:54Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"61gZVpISLDZRhPdKKv5Imc","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:04:45Z","updated_at":"2018-05-30T15:04:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:54 GMT'] - fastly-ratelimit-remaining: ['743'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:45 GMT'] + fastly-ratelimit-remaining: ['778'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630414.036331,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692685.367802,VS0,VE163'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/settings + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:54 GMT'] - fastly-ratelimit-remaining: ['742'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:46 GMT'] + fastly-ratelimit-remaining: ['777'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630415.503045,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692686.587812,VS0,VE443'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/version/2/activate + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:54Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:45Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:55 GMT'] - fastly-ratelimit-remaining: ['741'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:04:47 GMT'] + fastly-ratelimit-remaining: ['776'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630415.056295,VS0,VE892'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692686.089213,VS0,VE927'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -565,14 +590,14 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:56 GMT'] + date: ['Wed, 30 May 2018 15:04:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630416.081911,VS0,VE147'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692687.073766,VS0,VE144'] status: {code: 200, message: OK} - request: body: null @@ -581,59 +606,61 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":""}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":""}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:56 GMT'] + date: ['Wed, 30 May 2018 15:04:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630416.304103,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692687.274278,VS0,VE144'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:56 GMT'] + date: ['Wed, 30 May 2018 15:04:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630417.524357,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692687.478666,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/68WOxTbzDdhJRnMwEEJ4Oe/details + uri: https://api.fastly.com/service/61gZVpISLDZRhPdKKv5Imc/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:47Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:47Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","staging":false,"created_at":"2018-05-29T21:46:48Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:46:55Z","deployed":false}],"created_at":"2018-05-29T21:46:47Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:46:47Z","id":"68WOxTbzDdhJRnMwEEJ4Oe","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"61gZVpISLDZRhPdKKv5Imc","staging":false,"created_at":"2018-05-30T15:04:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:04:46Z","deployed":false}],"created_at":"2018-05-30T15:04:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:04:38Z","id":"61gZVpISLDZRhPdKKv5Imc","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:46:55Z","active":true,"number":2,"service_id":"68WOxTbzDdhJRnMwEEJ4Oe","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:46:48Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:04:46Z","active":true,"number":2,"service_id":"61gZVpISLDZRhPdKKv5Imc","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:04:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -643,13 +670,13 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:56 GMT'] + date: ['Wed, 30 May 2018 15:04:47 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630417.712066,VS0,VE106'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692688.656364,VS0,VE115'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml b/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml index f2316f7..a564f2e 100644 --- a/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlySettings_tearDown.yml @@ -6,81 +6,81 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":""}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":""}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:21 GMT'] + date: ['Wed, 30 May 2018 15:05:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527630441.104684,VS0,VE135'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692710.744571,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/details + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: 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:47:21 GMT'] + date: ['Wed, 30 May 2018 15:05:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630441.312028,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692710.941482,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/deactivate + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:22 GMT'] - fastly-ratelimit-remaining: ['718'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:10 GMT'] + fastly-ratelimit-remaining: ['753'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630442.785045,VS0,VE458'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692710.121952,VS0,VE226'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,15 +89,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:22 GMT'] - fastly-ratelimit-remaining: ['717'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:10 GMT'] + fastly-ratelimit-remaining: ['752'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630442.319348,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692710.406517,VS0,VE484'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml b/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml index 066aa5e..fb5b3d5 100644 --- a/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml +++ b/tests/fixtures/cassettes/TestFastlySettings_test_fastly_settings.yml @@ -10,19 +10,18 @@ interactions: service ''31RPDMBpiruA1yfGA2djLm''-''Fastly Ansible Module Test''"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['111'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:10 GMT'] + date: ['Wed, 30 May 2018 15:05:01 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630431.685459,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692701.081881,VS0,VE113'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Fastly Ansible Module Test"}' @@ -32,32 +31,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Fastly - Ansible Module Test","publish_key":"03fd109c36b13d306f53f7a24d2e92e6c0d8f6ed","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF"}'} + Ansible Module Test","publish_key":"2b889c213c9f1c5f780f554dee6a4f91dafbd886","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:05:01Z","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['512'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:11 GMT'] - fastly-ratelimit-remaining: ['726'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:01 GMT'] + fastly-ratelimit-remaining: ['761'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630431.870499,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692701.253669,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/details + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:11Z","active":false,"number":1,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:01Z","active":false,"number":1,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:05:01Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +64,70 @@ interactions: connection: [keep-alive] content-length: ['1107'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:11 GMT'] + date: ['Wed, 30 May 2018 15:05:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630431.330258,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692701.461604,VS0,VE437'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/1/clone + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:11 GMT'] - fastly-ratelimit-remaining: ['725'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:02 GMT'] + fastly-ratelimit-remaining: ['760'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692702.955537,VS0,VE512'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/domain + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:05: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-ams4451-AMS'] - x-timer: ['S1527630432.559487,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692703.521727,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/domain + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/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, 29 May 2018 21:47:12 GMT'] + date: ['Wed, 30 May 2018 15:05:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527630432.040879,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692703.997723,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/healthcheck + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/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, 29 May 2018 21:47:12 GMT'] + date: ['Wed, 30 May 2018 15:05:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630432.475165,VS0,VE379'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692703.460782,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/condition + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/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, 29 May 2018 21:47:13 GMT'] + date: ['Wed, 30 May 2018 15:05:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630433.927564,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692704.652341,VS0,VE456'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/backend + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/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, 29 May 2018 21:47:13 GMT'] + date: ['Wed, 30 May 2018 15:05:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630433.371027,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692704.164676,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/director + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/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, 29 May 2018 21:47:13 GMT'] + date: ['Wed, 30 May 2018 15:05:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630434.559836,VS0,VE372'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692704.357943,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/cache_settings + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/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, 29 May 2018 21:47:14 GMT'] + date: ['Wed, 30 May 2018 15:05:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630434.005570,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692705.541459,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/gzip + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/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, 29 May 2018 21:47:14 GMT'] + date: ['Wed, 30 May 2018 15:05:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630434.410274,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692705.721940,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/header + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/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, 29 May 2018 21:47:15 GMT'] + date: ['Wed, 30 May 2018 15:05:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630436.612696,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692705.903776,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/request_settings + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/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, 29 May 2018 21:47:15 GMT'] + date: ['Wed, 30 May 2018 15:05:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630436.843152,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692705.091093,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/response_object + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/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, 29 May 2018 21:47:16 GMT'] + date: ['Wed, 30 May 2018 15:05:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630436.036134,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692705.269962,VS0,VE133'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/snippet + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +377,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:16 GMT'] + date: ['Wed, 30 May 2018 15:05:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630436.479284,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692705.458898,VS0,VE415'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/logging/s3 + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -378,97 +401,97 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:16 GMT'] + date: ['Wed, 30 May 2018 15:05:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630437.668200,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692706.932962,VS0,VE126'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/domain + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6YdYUw8mSbggzNKYDVCdpF","version":2,"deleted_at":null,"created_at":"2018-05-29T21:47:17Z","updated_at":"2018-05-29T21:47:17Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"6QtbuNzxWZQy6sItdrPtLS","version":2,"deleted_at":null,"created_at":"2018-05-30T15:05:06Z","updated_at":"2018-05-30T15:05:06Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:17 GMT'] - fastly-ratelimit-remaining: ['724'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:06 GMT'] + fastly-ratelimit-remaining: ['759'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630437.858279,VS0,VE451'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692706.122964,VS0,VE485'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/backend + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"6YdYUw8mSbggzNKYDVCdpF","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:17Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:17Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"6QtbuNzxWZQy6sItdrPtLS","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:05:07Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:05:07Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:17 GMT'] - fastly-ratelimit-remaining: ['723'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:07 GMT'] + fastly-ratelimit-remaining: ['758'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630437.383486,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692707.662178,VS0,VE474'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/header + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"6YdYUw8mSbggzNKYDVCdpF","version":"2","updated_at":"2018-05-29T21:47:18Z","deleted_at":null,"created_at":"2018-05-29T21:47:18Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"6QtbuNzxWZQy6sItdrPtLS","version":"2","updated_at":"2018-05-30T15:05:07Z","deleted_at":null,"created_at":"2018-05-30T15:05:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:18 GMT'] - fastly-ratelimit-remaining: ['722'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:07 GMT'] + fastly-ratelimit-remaining: ['757'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630438.876722,VS0,VE400'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692707.194471,VS0,VE424'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -476,87 +499,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/response_object + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"6YdYUw8mSbggzNKYDVCdpF","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:47:18Z","updated_at":"2018-05-29T21:47:18Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"6QtbuNzxWZQy6sItdrPtLS","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:05:07Z","updated_at":"2018-05-30T15:05:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:18 GMT'] - fastly-ratelimit-remaining: ['721'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:07 GMT'] + fastly-ratelimit-remaining: ['756'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630438.351763,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692708.745328,VS0,VE181'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 1000}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/settings + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6YdYUw8mSbggzNKYDVCdpF"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"6QtbuNzxWZQy6sItdrPtLS"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:19 GMT'] - fastly-ratelimit-remaining: ['720'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:08 GMT'] + fastly-ratelimit-remaining: ['755'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630439.844975,VS0,VE173'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692708.988361,VS0,VE184'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/version/2/activate + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:18Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:07Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:19 GMT'] - fastly-ratelimit-remaining: ['719'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:05:08 GMT'] + fastly-ratelimit-remaining: ['754'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630439.103929,VS0,VE867'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692708.227819,VS0,VE664'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/details + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -566,14 +589,14 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:20 GMT'] + date: ['Wed, 30 May 2018 15:05:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630440.042111,VS0,VE141'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692709.950488,VS0,VE147'] status: {code: 200, message: OK} - request: body: null @@ -582,32 +605,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":""}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":""}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:20 GMT'] + date: ['Wed, 30 May 2018 15:05:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630440.255483,VS0,VE389'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692709.156574,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/details + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -617,25 +640,25 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:20 GMT'] + date: ['Wed, 30 May 2018 15:05:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630441.717739,VS0,VE106'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692709.368769,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/6YdYUw8mSbggzNKYDVCdpF/details + uri: https://api.fastly.com/service/6QtbuNzxWZQy6sItdrPtLS/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:11Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6YdYUw8mSbggzNKYDVCdpF","staging":false,"created_at":"2018-05-29T21:47:11Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:19Z","deployed":false}],"created_at":"2018-05-29T21:47:11Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:11Z","id":"6YdYUw8mSbggzNKYDVCdpF","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:01Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:01Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"6QtbuNzxWZQy6sItdrPtLS","staging":false,"created_at":"2018-05-30T15:05:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:08Z","deployed":false}],"created_at":"2018-05-30T15:05:01Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:01Z","id":"6QtbuNzxWZQy6sItdrPtLS","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set - 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:19Z","active":true,"number":2,"service_id":"6YdYUw8mSbggzNKYDVCdpF","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:11Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:05:08Z","active":true,"number":2,"service_id":"6QtbuNzxWZQy6sItdrPtLS","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":1000,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -645,13 +668,13 @@ interactions: connection: [keep-alive] content-length: ['3993'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:21 GMT'] + date: ['Wed, 30 May 2018 15:05:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630441.896979,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692710.546279,VS0,VE123'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml b/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml index 01a2b38..dfc6992 100644 --- a/tests/fixtures/cassettes/TestFastlyVclSnippets_tearDown.yml +++ b/tests/fixtures/cassettes/TestFastlyVclSnippets_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":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,31 +14,31 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:03 GMT'] + date: ['Wed, 30 May 2018 15:06:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630484.515358,VS0,VE148'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692774.087568,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -46,46 +46,46 @@ interactions: connection: [keep-alive] content-length: ['4853'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:03 GMT'] + date: ['Wed, 30 May 2018 15:06:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630484.730678,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692774.293177,VS0,VE114'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/deactivate + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:04 GMT'] + date: ['Wed, 30 May 2018 15:06:14 GMT'] fastly-ratelimit-remaining: ['685'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630484.916199,VS0,VE468'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692774.467543,VS0,VE470'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2 response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -94,15 +94,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:04 GMT'] + date: ['Wed, 30 May 2018 15:06:15 GMT'] fastly-ratelimit-remaining: ['684'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630484.457337,VS0,VE384'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692775.996385,VS0,VE160'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml b/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml index a78d41b..4982c3c 100644 --- a/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml +++ b/tests/fixtures/cassettes/TestFastlyVclSnippets_test_fastly_vcl_snippets_deliver_stale_content.yml @@ -6,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":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,76 +14,75 @@ interactions: connection: [keep-alive] content-length: ['686'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:51 GMT'] + date: ['Wed, 30 May 2018 15:06:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630471.922683,VS0,VE441'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692762.301386,VS0,VE154'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set - 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:47:47Z","active":true,"number":2,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:01Z","active":true,"number":2,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:05:54Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"text/plain","status":"200","response":"Ok","name":"Set 200 status code","content":"Hello from Fastly","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4047'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:51 GMT'] + date: ['Wed, 30 May 2018 15:06:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630471.435227,VS0,VE105'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692763.509707,VS0,VE379'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/2/clone + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:47Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:01Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:52 GMT'] + date: ['Wed, 30 May 2018 15:06:03 GMT'] fastly-ratelimit-remaining: ['697'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630472.610152,VS0,VE464'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692763.946765,VS0,VE488'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/domain + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","created_at":"2018-05-29T21:47:44Z","comment":"","updated_at":"2018-05-29T21:47:44Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"example8000.com","deleted_at":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","created_at":"2018-05-30T15:05:59Z","comment":"","updated_at":"2018-05-30T15:05:59Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['181'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:52 GMT'] + date: ['Wed, 30 May 2018 15:06:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630472.142501,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692763.495676,VS0,VE388'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/healthcheck + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:52 GMT'] + date: ['Wed, 30 May 2018 15:06:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630473.612927,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692764.941706,VS0,VE417'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/condition + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:53 GMT'] + date: ['Wed, 30 May 2018 15:06:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630473.800905,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692764.410746,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/backend + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:47:45Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:47:45Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:05:59Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:05:59Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:53 GMT'] + date: ['Wed, 30 May 2018 15:06:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630473.278268,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692765.592990,VS0,VE134'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/director + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:53 GMT'] + date: ['Wed, 30 May 2018 15:06:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630473.465563,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692765.781680,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/cache_settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:54 GMT'] + date: ['Wed, 30 May 2018 15:06:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630474.897618,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692765.964002,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/gzip + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:54 GMT'] + date: ['Wed, 30 May 2018 15:06:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630474.079986,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692765.145756,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/header + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"73GTR1qr7h9iRGU8pDAUSM","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:47:45Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:47:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"7OAhzqSh0dQSAyFB213yD2","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:05:59Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:05:59Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:54 GMT'] + date: ['Wed, 30 May 2018 15:06:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630475.513701,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692765.324612,VS0,VE388'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/request_settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:55 GMT'] + date: ['Wed, 30 May 2018 15:06:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630475.061092,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692766.769583,VS0,VE384'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/response_object + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"200","name":"Set - 200 status code","content":"Hello from Fastly","deleted_at":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","cache_condition":"","created_at":"2018-05-29T21:47:45Z","content_type":"text/plain","request_condition":"","updated_at":"2018-05-29T21:47:45Z"}]'} + 200 status code","content":"Hello from Fastly","deleted_at":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","cache_condition":"","created_at":"2018-05-30T15:06:00Z","content_type":"text/plain","request_condition":"","updated_at":"2018-05-30T15:06:00Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,45 @@ interactions: connection: [keep-alive] content-length: ['307'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:55 GMT'] + date: ['Wed, 30 May 2018 15:06:06 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692766.210458,VS0,VE119'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:06:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630476.541519,VS0,VE157'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692766.387036,VS0,VE387'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/snippet + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:56 GMT'] + date: ['Wed, 30 May 2018 15:06:06 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630476.770088,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692767.829942,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/logging/s3 + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +380,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:56 GMT'] + date: ['Wed, 30 May 2018 15:06:07 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630476.277472,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692767.009232,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/domain/example8000.com + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/domain/example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:56 GMT'] + date: ['Wed, 30 May 2018 15:06:07 GMT'] fastly-ratelimit-remaining: ['696'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630476.469708,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692767.195218,VS0,VE458'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/backend/localhost + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:57 GMT'] + date: ['Wed, 30 May 2018 15:06:08 GMT'] fastly-ratelimit-remaining: ['695'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630477.981795,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692768.712629,VS0,VE435'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:57 GMT'] + date: ['Wed, 30 May 2018 15:06:08 GMT'] fastly-ratelimit-remaining: ['694'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630478.519144,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692768.206567,VS0,VE428'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/response_object/Set%20200%20status%20code + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/response_object/Set%20200%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,99 +478,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:58 GMT'] + date: ['Wed, 30 May 2018 15:06:09 GMT'] fastly-ratelimit-remaining: ['693'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630478.033373,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692769.693788,VS0,VE440'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/domain + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":3,"deleted_at":null,"created_at":"2018-05-29T21:47:58Z","updated_at":"2018-05-29T21:47:58Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"example8000.com","service_id":"7OAhzqSh0dQSAyFB213yD2","version":3,"deleted_at":null,"created_at":"2018-05-30T15:06:09Z","updated_at":"2018-05-30T15:06:09Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['179'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:59 GMT'] + date: ['Wed, 30 May 2018 15:06:09 GMT'] fastly-ratelimit-remaining: ['692'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630479.543568,VS0,VE482'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692769.191657,VS0,VE568'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/backend + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:47:59Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:47:59Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:06:10Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:06:10Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:47:59 GMT'] + date: ['Wed, 30 May 2018 15:06:10 GMT'] fastly-ratelimit-remaining: ['691'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630479.173889,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692770.813668,VS0,VE470'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/header + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"3","updated_at":"2018-05-29T21:48:00Z","deleted_at":null,"created_at":"2018-05-29T21:48:00Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":"3","updated_at":"2018-05-30T15:06:10Z","deleted_at":null,"created_at":"2018-05-30T15:06:10Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:00 GMT'] + date: ['Wed, 30 May 2018 15:06:10 GMT'] fastly-ratelimit-remaining: ['690'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630480.672023,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692770.338337,VS0,VE152'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "200", "request_condition": "", "name": "Set @@ -555,124 +578,124 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/response_object + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/response_object response: body: {string: !!python/unicode '{"status":"200","request_condition":"","name":"Set - 200 status code","content":"","content_type":"","response":"Ok","service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:48:00Z","updated_at":"2018-05-29T21:48:00Z"}'} + 200 status code","content":"","content_type":"","response":"Ok","service_id":"7OAhzqSh0dQSAyFB213yD2","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:06:10Z","updated_at":"2018-05-30T15:06:10Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:00 GMT'] + date: ['Wed, 30 May 2018 15:06:10 GMT'] fastly-ratelimit-remaining: ['689'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630480.180116,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692771.548133,VS0,VE154'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"content": "\n if (resp.status >= 500 && resp.status < 600) {\n if (stale.exists) {\n restart;\n }\n }\n ", - "type": "deliver", "dynamic": 0, "name": "Deliver stale content", "priority": + "dynamic": 0, "type": "deliver", "name": "Deliver stale content", "priority": 100}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/snippet + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/snippet response: body: {string: !!python/unicode '{"content":"\n if (resp.status \u003e= 500 \u0026\u0026 resp.status \u003c 600) {\n if (stale.exists) - {\n restart;\n }\n }\n ","type":"deliver","dynamic":0,"name":"Deliver - stale content","priority":100,"service_id":"73GTR1qr7h9iRGU8pDAUSM","version":"3","deleted_at":null,"created_at":"2018-05-29T21:48:00Z","updated_at":"2018-05-29T21:48:00Z","id":"7SMQYaUxuWYwBHppX8y6RJ"}'} + {\n restart;\n }\n }\n ","dynamic":0,"type":"deliver","name":"Deliver + stale content","priority":100,"service_id":"7OAhzqSh0dQSAyFB213yD2","version":"3","deleted_at":null,"created_at":"2018-05-30T15:06:11Z","updated_at":"2018-05-30T15:06:11Z","id":"7hOi0dRGR2OJ79kBLJYdXs"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['452'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:00 GMT'] + date: ['Wed, 30 May 2018 15:06:11 GMT'] fastly-ratelimit-remaining: ['688'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630481.660994,VS0,VE136'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692771.761676,VS0,VE434'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/settings + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:01 GMT'] + date: ['Wed, 30 May 2018 15:06:11 GMT'] fastly-ratelimit-remaining: ['687'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630481.869614,VS0,VE452'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692771.251318,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/version/3/activate + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:00Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:11Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:02 GMT'] + date: ['Wed, 30 May 2018 15:06:12 GMT'] fastly-ratelimit-remaining: ['686'] - fastly-ratelimit-reset: ['1527631200'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630481.413838,VS0,VE874'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692772.784834,VS0,VE915'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -680,14 +703,14 @@ interactions: connection: [keep-alive] content-length: ['4853'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:02 GMT'] + date: ['Wed, 30 May 2018 15:06:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630482.438881,VS0,VE138'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692773.757282,VS0,VE419'] status: {code: 200, message: OK} - request: body: null @@ -696,7 +719,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":""}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM"}'} + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":""}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -704,31 +727,31 @@ interactions: connection: [keep-alive] content-length: ['918'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:03 GMT'] + date: ['Wed, 30 May 2018 15:06:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630483.652065,VS0,VE396'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692773.237672,VS0,VE431'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -736,31 +759,31 @@ interactions: connection: [keep-alive] content-length: ['4853'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:03 GMT'] + date: ['Wed, 30 May 2018 15:06:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630483.123409,VS0,VE107'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692774.725454,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/73GTR1qr7h9iRGU8pDAUSM/details + uri: https://api.fastly.com/service/7OAhzqSh0dQSAyFB213yD2/details response: - body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:38Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:47:38Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"73GTR1qr7h9iRGU8pDAUSM","staging":false,"created_at":"2018-05-29T21:47:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:48:02Z","deployed":false}],"created_at":"2018-05-29T21:47:38Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:47:38Z","id":"73GTR1qr7h9iRGU8pDAUSM","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:05:54Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:05:54Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"7OAhzqSh0dQSAyFB213yD2","staging":false,"created_at":"2018-05-30T15:06:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:06:12Z","deployed":false}],"created_at":"2018-05-30T15:05:54Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:05:54Z","id":"7OAhzqSh0dQSAyFB213yD2","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:48:02Z","active":true,"number":3,"service_id":"73GTR1qr7h9iRGU8pDAUSM","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:47:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:06:12Z","active":true,"number":3,"service_id":"7OAhzqSh0dQSAyFB213yD2","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:06:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set 200 status code","content":"","cache_condition":""}],"snippets":[{"priority":"100","name":"Deliver stale content","content":"\n if (resp.status \u003e= 500 \u0026\u0026 - resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7SMQYaUxuWYwBHppX8y6RJ"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + resp.status \u003c 600) {\n if (stale.exists) {\n restart;\n }\n }\n ","dynamic":"0","type":"deliver","id":"7hOi0dRGR2OJ79kBLJYdXs"}],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -768,13 +791,13 @@ interactions: connection: [keep-alive] content-length: ['4853'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:48:03 GMT'] + date: ['Wed, 30 May 2018 15:06:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630483.303771,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692774.895982,VS0,VE118'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/tearDown b/tests/fixtures/cassettes/tearDown index 154e71b..02b33e8 100644 --- a/tests/fixtures/cassettes/tearDown +++ b/tests/fixtures/cassettes/tearDown @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":""}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":""}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,23 +14,23 @@ interactions: connection: [keep-alive] content-length: ['925'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:07 GMT'] + date: ['Wed, 30 May 2018 15:02:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630248.779315,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692541.173844,VS0,VE432'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/details + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:07Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:20Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -38,46 +38,46 @@ interactions: connection: [keep-alive] content-length: ['3544'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:08 GMT'] + date: ['Wed, 30 May 2018 15:02:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630248.987874,VS0,VE109'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692542.664187,VS0,VE111'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/deactivate + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:07Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:20Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:08 GMT'] - fastly-ratelimit-remaining: ['900'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:22 GMT'] + fastly-ratelimit-remaining: ['935'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630248.173155,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692542.828083,VS0,VE513'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0 response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -86,15 +86,15 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:09 GMT'] - fastly-ratelimit-remaining: ['899'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:22 GMT'] + fastly-ratelimit-remaining: ['934'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630249.678669,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692542.398072,VS0,VE434'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert b/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert index 93eb23d..a3ed86d 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert +++ b/tests/fixtures/cassettes/test_fastly_backend_empty_ssl_ca_cert @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,23 +14,23 @@ interactions: connection: [keep-alive] content-length: ['694'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:58 GMT'] + date: ['Wed, 30 May 2018 15:02:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630238.093228,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692530.174583,VS0,VE418'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/details + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T16:36:45Z","active":false,"number":2,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T16:36:40Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T14:40:24Z","active":false,"number":2,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T14:40:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: @@ -40,48 +40,48 @@ interactions: connection: [keep-alive] content-length: ['2376'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:58 GMT'] + date: ['Wed, 30 May 2018 15:02:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630238.279749,VS0,VE443'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692531.648692,VS0,VE2152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/2/clone + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:59 GMT'] - fastly-ratelimit-remaining: ['909'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:13 GMT'] + fastly-ratelimit-remaining: ['944'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630239.825529,VS0,VE453'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692533.856283,VS0,VE489'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/domain + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","created_at":"2018-05-29T16:36:44Z","comment":"test1","updated_at":"2018-05-29T16:36:44Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","created_at":"2018-05-30T14:40:23Z","comment":"test1","updated_at":"2018-05-30T14:40:23Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -89,21 +89,21 @@ interactions: connection: [keep-alive] content-length: ['190'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:43:59 GMT'] + date: ['Wed, 30 May 2018 15:02:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630239.349544,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692533.404113,VS0,VE145'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/healthcheck + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -113,21 +113,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:00 GMT'] + date: ['Wed, 30 May 2018 15:02:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630240.784868,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692534.602631,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/condition + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -137,23 +137,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:00 GMT'] + date: ['Wed, 30 May 2018 15:02:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630240.220386,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692534.786660,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/backend + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T16:36:44Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T16:36:44Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T14:40:23Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T14:40:23Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -161,21 +161,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:00 GMT'] + date: ['Wed, 30 May 2018 15:02:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630240.405977,VS0,VE375'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692534.253429,VS0,VE449'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/director + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -185,21 +185,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:01 GMT'] + date: ['Wed, 30 May 2018 15:02:14 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630241.854541,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692535.766080,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/cache_settings + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -209,21 +209,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:01 GMT'] + date: ['Wed, 30 May 2018 15:02:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630241.294069,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692535.980747,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/gzip + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -233,24 +233,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:01 GMT'] + date: ['Wed, 30 May 2018 15:02:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630241.481952,VS0,VE136'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692535.424133,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/header + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3anjYL1mfxKTdZXjeE4v2m","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T16:36:45Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T16:36:45Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"2uKIal1ukEDTfTuaWrjxF0","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T14:40:24Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T14:40:24Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:01 GMT'] + date: ['Wed, 30 May 2018 15:02:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630242.692987,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692536.615633,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/request_settings + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -282,24 +282,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:01 GMT'] + date: ['Wed, 30 May 2018 15:02:15 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630242.878331,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692536.794155,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/response_object + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","cache_condition":"","created_at":"2018-05-29T16:36:45Z","content_type":"","request_condition":"","updated_at":"2018-05-29T16:36:45Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","cache_condition":"","created_at":"2018-05-30T14:40:24Z","content_type":"","request_condition":"","updated_at":"2018-05-30T14:40:24Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -307,21 +307,21 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:02 GMT'] + date: ['Wed, 30 May 2018 15:02:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630242.072456,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692536.970441,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/snippet + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -331,21 +331,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:02 GMT'] + date: ['Wed, 30 May 2018 15:02:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630243.514247,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692536.155048,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/logging/s3 + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -355,21 +355,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:02 GMT'] + date: ['Wed, 30 May 2018 15:02:16 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630243.705678,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692536.343651,VS0,VE130'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02: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-fra19150-FRA'] + x-timer: ['S1527692537.531078,VS0,VE162'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -378,23 +402,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:03 GMT'] - fastly-ratelimit-remaining: ['908'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:17 GMT'] + fastly-ratelimit-remaining: ['943'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630243.896505,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692537.753013,VS0,VE426'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/backend/localhost + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -403,23 +427,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:03 GMT'] - fastly-ratelimit-remaining: ['907'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:17 GMT'] + fastly-ratelimit-remaining: ['942'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630243.381780,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692537.237397,VS0,VE437'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -428,23 +452,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:04 GMT'] - fastly-ratelimit-remaining: ['906'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:17 GMT'] + fastly-ratelimit-remaining: ['941'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630244.874739,VS0,VE455'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692538.727312,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -453,104 +477,104 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:04 GMT'] - fastly-ratelimit-remaining: ['905'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:18 GMT'] + fastly-ratelimit-remaining: ['940'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630244.404756,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692538.947760,VS0,VE433'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/domain + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3anjYL1mfxKTdZXjeE4v2m","version":3,"deleted_at":null,"created_at":"2018-05-29T21:44:05Z","updated_at":"2018-05-29T21:44:05Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"2uKIal1ukEDTfTuaWrjxF0","version":3,"deleted_at":null,"created_at":"2018-05-30T15:02:18Z","updated_at":"2018-05-30T15:02:18Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:05 GMT'] - fastly-ratelimit-remaining: ['904'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:18 GMT'] + fastly-ratelimit-remaining: ['939'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630245.891169,VS0,VE463'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692538.434545,VS0,VE495'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "my-backend.example.net", "weight": 100, "healthcheck": null, "first_byte_timeout": - 15000, "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, - "address": "my-backend.example.net", "between_bytes_timeout": 10000, "max_conn": - 200, "port": 443, "ssl_hostname": "my-backend.example.net", "shield": null}' + 15000, "error_threshold": 0, "port": 443, "ssl_cert_hostname": null, "address": + "my-backend.example.net", "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": + 1000, "ssl_hostname": "my-backend.example.net", "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/backend + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend.example.net","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend.example.net","between_bytes_timeout":10000,"max_conn":200,"port":443,"ssl_hostname":"my-backend.example.net","shield":null,"service_id":"3anjYL1mfxKTdZXjeE4v2m","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend.example.net","client_cert":null,"updated_at":"2018-05-29T21:44:05Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":true,"created_at":"2018-05-29T21:44:05Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend.example.net","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":443,"ssl_cert_hostname":null,"address":"my-backend.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":"my-backend.example.net","shield":null,"service_id":"2uKIal1ukEDTfTuaWrjxF0","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend.example.net","client_cert":null,"updated_at":"2018-05-30T15:02:19Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":true,"created_at":"2018-05-30T15:02:19Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['775'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:05 GMT'] - fastly-ratelimit-remaining: ['903'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:19 GMT'] + fastly-ratelimit-remaining: ['938'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630245.428577,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692539.981909,VS0,VE444'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/settings + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3anjYL1mfxKTdZXjeE4v2m"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"2uKIal1ukEDTfTuaWrjxF0"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:06 GMT'] - fastly-ratelimit-remaining: ['902'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:19 GMT'] + fastly-ratelimit-remaining: ['937'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] - x-timer: ['S1527630246.918102,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692539.480392,VS0,VE290'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/version/3/activate + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:05Z","deployed":false,"msg":"Warning: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:19Z","deployed":false,"msg":"Warning: Backend host `my-backend.example.net` could not be resolved to an IP address: Name or service not known\nat: (input Line 12 Pos 6)\n .host = \"my-backend.example.net\";\n-----####----------------------------"}'} headers: @@ -559,25 +583,25 @@ interactions: connection: [keep-alive] content-length: ['458'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:07 GMT'] - fastly-ratelimit-remaining: ['901'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:20 GMT'] + fastly-ratelimit-remaining: ['936'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630246.408331,VS0,VE1047'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692540.829317,VS0,VE1063'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3anjYL1mfxKTdZXjeE4v2m/details + uri: https://api.fastly.com/service/2uKIal1ukEDTfTuaWrjxF0/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:39Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T16:36:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T16:36:45Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3anjYL1mfxKTdZXjeE4v2m","staging":false,"created_at":"2018-05-29T21:43:59Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:07Z","deployed":false}],"created_at":"2018-05-29T16:36:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T16:36:39Z","id":"3anjYL1mfxKTdZXjeE4v2m","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:07Z","active":true,"number":3,"service_id":"3anjYL1mfxKTdZXjeE4v2m","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:43:59Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:18Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T14:40:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:40:24Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"2uKIal1ukEDTfTuaWrjxF0","staging":false,"created_at":"2018-05-30T15:02:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:20Z","deployed":false}],"created_at":"2018-05-30T14:40:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:40:18Z","id":"2uKIal1ukEDTfTuaWrjxF0","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:20Z","active":true,"number":3,"service_id":"2uKIal1ukEDTfTuaWrjxF0","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:13Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"my-backend.example.net","ssl_hostname":"my-backend.example.net","ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend.example.net","healthcheck":null,"port":443,"max_conn":200,"use_ssl":true,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -585,13 +609,13 @@ interactions: connection: [keep-alive] content-length: ['3544'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:07 GMT'] + date: ['Wed, 30 May 2018 15:02:21 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630248.530506,VS0,VE152'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692541.947985,VS0,VE151'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_port_not_required b/tests/fixtures/cassettes/test_fastly_backend_port_not_required index ef71c49..2f8ce49 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_port_not_required +++ b/tests/fixtures/cassettes/test_fastly_backend_port_not_required @@ -15,14 +15,14 @@ interactions: connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:09 GMT'] + date: ['Wed, 30 May 2018 15:02:23 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630249.159502,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692543.901196,VS0,VE122'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -32,32 +32,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"02cd31ff4b39e87a6e1f4d19b11f12640903a100","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:44:09Z","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + Fastly Ansible Module Test","publish_key":"d478db778729366f9e819fed0dcdff526619d976","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:02:23Z","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['518'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:09 GMT'] - fastly-ratelimit-remaining: ['898'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:23 GMT'] + fastly-ratelimit-remaining: ['933'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630249.347148,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692543.076768,VS0,VE440'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:09Z","active":false,"number":1,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:44:09Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:23Z","active":false,"number":1,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:02:23Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -65,46 +65,46 @@ interactions: connection: [keep-alive] content-length: ['1113'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:10 GMT'] + date: ['Wed, 30 May 2018 15:02:23 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630250.886146,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692544.575613,VS0,VE197'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/1/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:10 GMT'] - fastly-ratelimit-remaining: ['897'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:24 GMT'] + fastly-ratelimit-remaining: ['932'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630250.395279,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692544.831735,VS0,VE489'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/domain response: body: {string: !!python/unicode '[]'} headers: @@ -114,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:10 GMT'] + date: ['Wed, 30 May 2018 15:02:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630251.884906,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692544.370340,VS0,VE433'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -138,21 +138,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:11 GMT'] + date: ['Wed, 30 May 2018 15:02:24 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630251.068686,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692545.860866,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -162,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:11 GMT'] + date: ['Wed, 30 May 2018 15:02:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630251.260208,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692545.044839,VS0,VE388'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -186,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:12 GMT'] + date: ['Wed, 30 May 2018 15:02:25 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630252.704811,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692545.488200,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -210,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:12 GMT'] + date: ['Wed, 30 May 2018 15:02:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630252.164600,VS0,VE151'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692546.934422,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -234,21 +234,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:12 GMT'] + date: ['Wed, 30 May 2018 15:02:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630252.391968,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692546.116650,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -258,21 +258,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:13 GMT'] + date: ['Wed, 30 May 2018 15:02:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630253.830137,VS0,VE362'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692547.560726,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -282,21 +282,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:13 GMT'] + date: ['Wed, 30 May 2018 15:02:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630253.265276,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692547.743312,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -306,21 +306,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:13 GMT'] + date: ['Wed, 30 May 2018 15:02:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630253.455320,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692547.925362,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -330,21 +330,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:14 GMT'] + date: ['Wed, 30 May 2018 15:02:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630254.888930,VS0,VE123'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692547.109645,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -354,21 +354,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:14 GMT'] + date: ['Wed, 30 May 2018 15:02:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630254.088695,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692547.292581,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -378,97 +378,121 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:14 GMT'] + date: ['Wed, 30 May 2018 15:02:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630254.274436,VS0,VE359'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692547.467854,VS0,VE390'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02:28 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692548.916676,VS0,VE120'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":2,"deleted_at":null,"created_at":"2018-05-29T21:44:15Z","updated_at":"2018-05-29T21:44:15Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":2,"deleted_at":null,"created_at":"2018-05-30T15:02:28Z","updated_at":"2018-05-30T15:02:28Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:15 GMT'] - fastly-ratelimit-remaining: ['896'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:28 GMT'] + fastly-ratelimit-remaining: ['931'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630255.712133,VS0,VE494'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692548.093940,VS0,VE280'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:15Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:15Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:28Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:28Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:15 GMT'] - fastly-ratelimit-remaining: ['895'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:28 GMT'] + fastly-ratelimit-remaining: ['930'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630255.280807,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692548.429189,VS0,VE466'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"2","updated_at":"2018-05-29T21:44:16Z","deleted_at":null,"created_at":"2018-05-29T21:44:16Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"2","updated_at":"2018-05-30T15:02:29Z","deleted_at":null,"created_at":"2018-05-30T15:02:29Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:16 GMT'] - fastly-ratelimit-remaining: ['894'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:29 GMT'] + fastly-ratelimit-remaining: ['929'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630256.768956,VS0,VE395'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692549.951483,VS0,VE212'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -476,87 +500,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:44:16Z","updated_at":"2018-05-29T21:44:16Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:29Z","updated_at":"2018-05-30T15:02:29Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:16 GMT'] - fastly-ratelimit-remaining: ['893'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:29 GMT'] + fastly-ratelimit-remaining: ['928'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630256.233573,VS0,VE391'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692549.218170,VS0,VE480'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:17 GMT'] - fastly-ratelimit-remaining: ['892'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:29 GMT'] + fastly-ratelimit-remaining: ['927'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630257.701196,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692550.757471,VS0,VE180'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:16Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:29Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:18 GMT'] - fastly-ratelimit-remaining: ['891'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:30 GMT'] + fastly-ratelimit-remaining: ['926'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630257.197478,VS0,VE1196'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692550.992594,VS0,VE895'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:18Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:30Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -566,13 +590,13 @@ interactions: connection: [keep-alive] content-length: ['4005'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:18 GMT'] + date: ['Wed, 30 May 2018 15:02:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630258.469817,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692551.945609,VS0,VE144'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_backend_weight_even b/tests/fixtures/cassettes/test_fastly_backend_weight_even index 86b78dd..ce34e49 100644 --- a/tests/fixtures/cassettes/test_fastly_backend_weight_even +++ b/tests/fixtures/cassettes/test_fastly_backend_weight_even @@ -6,33 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['692'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:18 GMT'] + date: ['Wed, 30 May 2018 15:02:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630259.749607,VS0,VE171'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692551.198982,VS0,VE150'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:18Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:30Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:18Z","active":true,"number":2,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:30Z","active":true,"number":2,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:24Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -42,48 +41,48 @@ interactions: connection: [keep-alive] content-length: ['4005'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:19 GMT'] + date: ['Wed, 30 May 2018 15:02:31 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630259.994736,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692551.406088,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/2/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/2/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:18Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:30Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:19 GMT'] - fastly-ratelimit-remaining: ['890'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:32 GMT'] + fastly-ratelimit-remaining: ['925'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630259.232440,VS0,VE220'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692552.630363,VS0,VE467'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:15Z","comment":"","updated_at":"2018-05-29T21:44:15Z"}]'} + body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:28Z","comment":"","updated_at":"2018-05-30T15:02:28Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:19 GMT'] + date: ['Wed, 30 May 2018 15:02:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630260.529416,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692552.159970,VS0,VE394'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:20 GMT'] + date: ['Wed, 30 May 2018 15:02:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630260.965186,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692553.609486,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:20 GMT'] + date: ['Wed, 30 May 2018 15:02:32 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630260.449725,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692553.796463,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:44:15Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:15Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:28Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:28Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 15:02:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630261.889472,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692553.977432,VS0,VE427'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 15:02:33 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630261.087952,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692553.457935,VS0,VE452'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 15:02:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630261.278546,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692554.970004,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 15:02:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630261.477636,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692554.141905,VS0,VE142'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:16Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:16Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:29Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:29Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 15:02:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630262.676764,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692554.342899,VS0,VE139'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:21 GMT'] + date: ['Wed, 30 May 2018 15:02:34 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630262.867564,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692555.538933,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:44:16Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:44:16Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:02:29Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:29Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,45 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:22 GMT'] + date: ['Wed, 30 May 2018 15:02:34 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692555.727096,VS0,VE131'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02: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-ams4438-AMS'] - x-timer: ['S1527630262.061565,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692555.918298,VS0,VE390'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:22 GMT'] + date: ['Wed, 30 May 2018 15:02:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630262.254397,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692555.364189,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +380,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:22 GMT'] + date: ['Wed, 30 May 2018 15:02:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630263.698092,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692556.836686,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:23 GMT'] - fastly-ratelimit-remaining: ['889'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:36 GMT'] + fastly-ratelimit-remaining: ['924'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630263.889242,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692556.013840,VS0,VE441'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/backend/localhost + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:23 GMT'] - fastly-ratelimit-remaining: ['888'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:36 GMT'] + fastly-ratelimit-remaining: ['923'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630263.374591,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692557.511444,VS0,VE472'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:24 GMT'] - fastly-ratelimit-remaining: ['887'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:37 GMT'] + fastly-ratelimit-remaining: ['922'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630264.876706,VS0,VE413'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692557.042384,VS0,VE430'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,133 +478,133 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:24 GMT'] - fastly-ratelimit-remaining: ['886'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:37 GMT'] + fastly-ratelimit-remaining: ['921'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630264.362992,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692558.534101,VS0,VE161'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":3,"deleted_at":null,"created_at":"2018-05-29T21:44:24Z","updated_at":"2018-05-29T21:44:24Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":3,"deleted_at":null,"created_at":"2018-05-30T15:02:37Z","updated_at":"2018-05-30T15:02:37Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:25 GMT'] - fastly-ratelimit-remaining: ['885'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:38 GMT'] + fastly-ratelimit-remaining: ['920'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630265.882720,VS0,VE187'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692558.754494,VS0,VE250'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "my-backend1.example.net", "weight": 50, "healthcheck": null, "first_byte_timeout": - 15000, "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, - "address": "my-backend1.example.net", "between_bytes_timeout": 10000, "max_conn": - 200, "port": 80, "ssl_hostname": null, "shield": null}' + 15000, "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": + "my-backend1.example.net", "between_bytes_timeout": 10000, "max_conn": 200, + "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend1.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend1.example.net","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","client_cert":null,"updated_at":"2018-05-29T21:44:25Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:25Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend1.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"my-backend1.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","client_cert":null,"updated_at":"2018-05-30T15:02:38Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['757'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:25 GMT'] - fastly-ratelimit-remaining: ['884'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:38 GMT'] + fastly-ratelimit-remaining: ['919'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630265.143592,VS0,VE444'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692558.063628,VS0,VE181'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "my-backend2.example.net", "weight": 50, "healthcheck": null, "first_byte_timeout": - 15000, "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, - "address": "my-backend2.example.net", "between_bytes_timeout": 10000, "max_conn": - 200, "port": 80, "ssl_hostname": null, "shield": null}' + 15000, "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": + "my-backend2.example.net", "between_bytes_timeout": 10000, "max_conn": 200, + "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend2.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"my-backend2.example.net","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","client_cert":null,"updated_at":"2018-05-29T21:44:26Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:26Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"my-backend2.example.net","weight":50,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"my-backend2.example.net","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","client_cert":null,"updated_at":"2018-05-30T15:02:38Z","ipv4":null,"ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['757'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:26 GMT'] - fastly-ratelimit-remaining: ['883'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:38 GMT'] + fastly-ratelimit-remaining: ['918'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630266.710153,VS0,VE463'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692558.304020,VS0,VE468'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:26 GMT'] - fastly-ratelimit-remaining: ['882'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:39 GMT'] + fastly-ratelimit-remaining: ['917'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630266.249256,VS0,VE456'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692559.829916,VS0,VE440'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:26Z","deployed":false,"msg":"Warning: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:38Z","deployed":false,"msg":"Warning: Backend host `my-backend1.example.net` could not be resolved to an IP address: Name or service not known\nat: (input Line 12 Pos 6)\n .host = \"my-backend1.example.net\";\n-----####-----------------------------\n\nWarning: Backend host `my-backend2.example.net` could not be resolved to an IP address: @@ -594,25 +617,25 @@ interactions: connection: [keep-alive] content-length: ['843'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:27 GMT'] - fastly-ratelimit-remaining: ['881'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:40 GMT'] + fastly-ratelimit-remaining: ['916'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630267.814370,VS0,VE1051'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692559.326521,VS0,VE910'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -620,13 +643,13 @@ interactions: connection: [keep-alive] content-length: ['4743'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:28 GMT'] + date: ['Wed, 30 May 2018 15:02:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630268.010742,VS0,VE258'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692560.292628,VS0,VE150'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_domain_comment_not_required b/tests/fixtures/cassettes/test_fastly_domain_comment_not_required index fd64e00..29d04df 100644 --- a/tests/fixtures/cassettes/test_fastly_domain_comment_not_required +++ b/tests/fixtures/cassettes/test_fastly_domain_comment_not_required @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,23 +14,23 @@ interactions: connection: [keep-alive] content-length: ['924'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:28 GMT'] + date: ['Wed, 30 May 2018 15:02:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630269.524307,VS0,VE243'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692561.620241,VS0,VE153'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:27Z","active":true,"number":3,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:40Z","active":true,"number":3,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:32Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend1.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend1.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend1.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null},{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":"my-backend2.example.net","ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":50,"client_cert":null,"address":"my-backend2.example.net","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":null,"connect_timeout":1000,"ssl_ciphers":null,"name":"my-backend2.example.net","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] @@ -38,48 +38,48 @@ interactions: connection: [keep-alive] content-length: ['4743'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:29 GMT'] + date: ['Wed, 30 May 2018 15:02:40 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630269.841495,VS0,VE184'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692561.831442,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/3/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/3/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:29 GMT'] - fastly-ratelimit-remaining: ['880'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:41 GMT'] + fastly-ratelimit-remaining: ['915'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630269.101625,VS0,VE491'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692561.998629,VS0,VE211'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/domain response: - body: {string: !!python/unicode '[{"version":4,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:24Z","comment":"","updated_at":"2018-05-29T21:44:24Z"}]'} + body: {string: !!python/unicode '[{"version":4,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:37Z","comment":"","updated_at":"2018-05-30T15:02:37Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -87,21 +87,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:29 GMT'] + date: ['Wed, 30 May 2018 15:02:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630270.669012,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692561.268853,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/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, 29 May 2018 21:44:30 GMT'] + date: ['Wed, 30 May 2018 15:02:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630270.857226,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692561.458358,VS0,VE391'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/condition response: body: {string: !!python/unicode '[]'} headers: @@ -135,23 +135,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:30 GMT'] + date: ['Wed, 30 May 2018 15:02:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630270.364484,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692562.910522,VS0,VE391'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend1.example.net","updated_at":"2018-05-29T21:44:25Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend1.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:25Z","comment":""},{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend2.example.net","updated_at":"2018-05-29T21:44:26Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend2.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:26Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend1.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend1.example.net","updated_at":"2018-05-30T15:02:38Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend1.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""},{"max_tls_version":null,"ssl_client_cert":null,"hostname":"my-backend2.example.net","error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":50,"address":"my-backend2.example.net","updated_at":"2018-05-30T15:02:38Z","connect_timeout":1000,"ipv4":null,"ssl_ciphers":null,"name":"my-backend2.example.net","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":4,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:38Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -159,21 +159,21 @@ interactions: connection: [keep-alive] content-length: ['1517'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:30 GMT'] + date: ['Wed, 30 May 2018 15:02:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630271.808014,VS0,VE133'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692562.359680,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/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, 29 May 2018 21:44:31 GMT'] + date: ['Wed, 30 May 2018 15:02:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527630271.024501,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692563.546690,VS0,VE391'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/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, 29 May 2018 21:44:31 GMT'] + date: ['Wed, 30 May 2018 15:02:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630271.213511,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692563.996423,VS0,VE390'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/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, 29 May 2018 21:44:31 GMT'] + date: ['Wed, 30 May 2018 15:02:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630272.696451,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692563.445921,VS0,VE410'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/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, 29 May 2018 21:44:32 GMT'] + date: ['Wed, 30 May 2018 15:02:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630272.888729,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692564.910931,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/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, 29 May 2018 21:44:32 GMT'] + date: ['Wed, 30 May 2018 15:02:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630272.084702,VS0,VE373'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692564.093715,VS0,VE131'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/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, 29 May 2018 21:44:32 GMT'] + date: ['Wed, 30 May 2018 15:02:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630273.622126,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692564.285967,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -327,21 +327,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:32 GMT'] + date: ['Wed, 30 May 2018 15:02:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630273.851325,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692564.475285,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -351,21 +351,45 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:33 GMT'] + date: ['Wed, 30 May 2018 15:02:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630273.045384,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692565.660159,VS0,VE119'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02: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-fra19151-FRA'] + x-timer: ['S1527692565.835111,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -374,23 +398,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:33 GMT'] - fastly-ratelimit-remaining: ['879'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:45 GMT'] + fastly-ratelimit-remaining: ['914'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630273.240820,VS0,VE419'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692565.018878,VS0,VE491'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/backend/my-backend1.example.net + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend/my-backend1.example.net response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -399,23 +423,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:34 GMT'] - fastly-ratelimit-remaining: ['878'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:46 GMT'] + fastly-ratelimit-remaining: ['913'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630274.746041,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692566.570988,VS0,VE466'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/backend/my-backend2.example.net + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend/my-backend2.example.net response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -424,99 +448,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:34 GMT'] - fastly-ratelimit-remaining: ['877'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:46 GMT'] + fastly-ratelimit-remaining: ['912'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630274.233439,VS0,VE161'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692566.092996,VS0,VE167'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":4,"deleted_at":null,"created_at":"2018-05-29T21:44:34Z","updated_at":"2018-05-29T21:44:34Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":4,"deleted_at":null,"created_at":"2018-05-30T15:02:46Z","updated_at":"2018-05-30T15:02:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:34 GMT'] - fastly-ratelimit-remaining: ['876'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:46 GMT'] + fastly-ratelimit-remaining: ['911'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4150-AMS'] - x-timer: ['S1527630274.469902,VS0,VE486'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692566.317319,VS0,VE201'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:35Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:35Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":4,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:46Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:46Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:35 GMT'] - fastly-ratelimit-remaining: ['875'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:46 GMT'] + fastly-ratelimit-remaining: ['910'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630275.048654,VS0,VE417'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692567.576730,VS0,VE169'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"4","updated_at":"2018-05-29T21:44:35Z","deleted_at":null,"created_at":"2018-05-29T21:44:35Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"4","updated_at":"2018-05-30T15:02:46Z","deleted_at":null,"created_at":"2018-05-30T15:02:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:35 GMT'] - fastly-ratelimit-remaining: ['874'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:46 GMT'] + fastly-ratelimit-remaining: ['909'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630276.596680,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692567.805344,VS0,VE154'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -524,87 +548,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:44:36Z","updated_at":"2018-05-29T21:44:36Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"4","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:47Z","updated_at":"2018-05-30T15:02:47Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:36 GMT'] - fastly-ratelimit-remaining: ['873'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:47 GMT'] + fastly-ratelimit-remaining: ['908'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630276.102471,VS0,VE408'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692567.019618,VS0,VE149'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":4,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:36 GMT'] - fastly-ratelimit-remaining: ['872'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:47 GMT'] + fastly-ratelimit-remaining: ['907'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630277.586033,VS0,VE382'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692567.227210,VS0,VE177'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:36Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:47Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:37 GMT'] - fastly-ratelimit-remaining: ['871'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:48 GMT'] + fastly-ratelimit-remaining: ['906'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630277.046996,VS0,VE843'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692567.464801,VS0,VE924'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -614,13 +638,13 @@ interactions: connection: [keep-alive] content-length: ['4469'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:38 GMT'] + date: ['Wed, 30 May 2018 15:02:48 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630278.965753,VS0,VE150'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692568.446109,VS0,VE156'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_action_not_required b/tests/fixtures/cassettes/test_fastly_header_action_not_required index df93e76..fde8b81 100644 --- a/tests/fixtures/cassettes/test_fastly_header_action_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_action_not_required @@ -6,33 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['1156'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:38 GMT'] + date: ['Wed, 30 May 2018 15:02:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630278.256362,VS0,VE138'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692569.708574,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:37Z","active":true,"number":4,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:29Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:48Z","active":true,"number":4,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -42,48 +41,48 @@ interactions: connection: [keep-alive] content-length: ['4469'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:38 GMT'] + date: ['Wed, 30 May 2018 15:02:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630278.471020,VS0,VE107'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692569.175227,VS0,VE116'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/4/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/4/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:39 GMT'] - fastly-ratelimit-remaining: ['870'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:49 GMT'] + fastly-ratelimit-remaining: ['905'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527630279.655793,VS0,VE449'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692569.350741,VS0,VE498'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/domain response: - body: {string: !!python/unicode '[{"version":5,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:34Z","comment":"","updated_at":"2018-05-29T21:44:34Z"}]'} + body: {string: !!python/unicode '[{"version":5,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:46Z","comment":"","updated_at":"2018-05-30T15:02:46Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:39 GMT'] + date: ['Wed, 30 May 2018 15:02:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630279.178050,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692570.909195,VS0,VE413'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:39 GMT'] + date: ['Wed, 30 May 2018 15:02:50 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630280.685189,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692570.381714,VS0,VE425'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:39 GMT'] + date: ['Wed, 30 May 2018 15:02:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630280.873568,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692571.864663,VS0,VE171'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:44:35Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":5,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:35Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:46Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":5,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:46Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:40 GMT'] + date: ['Wed, 30 May 2018 15:02:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630280.069992,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692571.093551,VS0,VE398'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:40 GMT'] + date: ['Wed, 30 May 2018 15:02:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630280.262992,VS0,VE160'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692572.548690,VS0,VE393'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:40 GMT'] + date: ['Wed, 30 May 2018 15:02:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630281.501193,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692572.999474,VS0,VE389'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:40 GMT'] + date: ['Wed, 30 May 2018 15:02:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630281.693407,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692572.447100,VS0,VE126'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:35Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"5","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:35Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:46Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"5","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:46Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:41 GMT'] + date: ['Wed, 30 May 2018 15:02:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630281.881747,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692573.631027,VS0,VE438'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:41 GMT'] + date: ['Wed, 30 May 2018 15:02:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4131-AMS'] - x-timer: ['S1527630281.334422,VS0,VE377'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692573.126838,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"5","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:44:36Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:44:36Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:02:47Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:47Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,45 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:41 GMT'] + date: ['Wed, 30 May 2018 15:02:53 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692573.304864,VS0,VE172'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:02: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-ams4145-AMS'] - x-timer: ['S1527630282.787976,VS0,VE159'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692574.538008,VS0,VE167'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:42 GMT'] + date: ['Wed, 30 May 2018 15:02:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630282.018399,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692574.762135,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +380,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:42 GMT'] + date: ['Wed, 30 May 2018 15:02:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630282.456316,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692574.988032,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:43 GMT'] - fastly-ratelimit-remaining: ['869'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:54 GMT'] + fastly-ratelimit-remaining: ['904'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630283.897086,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692574.172307,VS0,VE458'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/backend/localhost + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:43 GMT'] - fastly-ratelimit-remaining: ['868'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:55 GMT'] + fastly-ratelimit-remaining: ['903'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630283.377464,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692575.685294,VS0,VE470'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/header/Set%20Location%20header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:44 GMT'] - fastly-ratelimit-remaining: ['867'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:55 GMT'] + fastly-ratelimit-remaining: ['902'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630284.864130,VS0,VE488'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692575.215428,VS0,VE432'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,99 +478,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:44 GMT'] - fastly-ratelimit-remaining: ['866'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:55 GMT'] + fastly-ratelimit-remaining: ['901'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630284.426664,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692576.700571,VS0,VE168'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/domain response: - body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":5,"deleted_at":null,"created_at":"2018-05-29T21:44:45Z","updated_at":"2018-05-29T21:44:45Z"}'} + body: {string: !!python/unicode '{"comment":"","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":5,"deleted_at":null,"created_at":"2018-05-30T15:02:56Z","updated_at":"2018-05-30T15:02:56Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['183'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:45 GMT'] - fastly-ratelimit-remaining: ['865'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:56 GMT'] + fastly-ratelimit-remaining: ['900'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630285.912268,VS0,VE439'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692576.930645,VS0,VE495'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":5,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:45Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:45Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":5,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:02:56Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:02:56Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:45 GMT'] - fastly-ratelimit-remaining: ['864'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:56 GMT'] + fastly-ratelimit-remaining: ['899'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630285.424388,VS0,VE425'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692576.485064,VS0,VE470'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "100", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "100", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"100","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"5","updated_at":"2018-05-29T21:44:46Z","deleted_at":null,"created_at":"2018-05-29T21:44:46Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"100","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"5","updated_at":"2018-05-30T15:02:57Z","deleted_at":null,"created_at":"2018-05-30T15:02:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['413'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:46 GMT'] - fastly-ratelimit-remaining: ['863'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:57 GMT'] + fastly-ratelimit-remaining: ['898'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630286.925069,VS0,VE438'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692577.011044,VS0,VE427'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -555,87 +578,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"5","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:44:46Z","updated_at":"2018-05-29T21:44:46Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"5","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:02:57Z","updated_at":"2018-05-30T15:02:57Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:46 GMT'] - fastly-ratelimit-remaining: ['862'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:57 GMT'] + fastly-ratelimit-remaining: ['897'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630286.442406,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692578.502119,VS0,VE424'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":5,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":5,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:47 GMT'] - fastly-ratelimit-remaining: ['861'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:58 GMT'] + fastly-ratelimit-remaining: ['896'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630287.906469,VS0,VE433'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692578.985678,VS0,VE515'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:46Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:57Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:48 GMT'] - fastly-ratelimit-remaining: ['860'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:02:59 GMT'] + fastly-ratelimit-remaining: ['895'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630287.415930,VS0,VE896'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692579.558396,VS0,VE847'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -645,13 +668,13 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:48 GMT'] + date: ['Wed, 30 May 2018 15:02:59 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630288.387799,VS0,VE140'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692579.463061,VS0,VE441'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required b/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required index 0f3dad3..e38ea92 100644 --- a/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_ignore_if_set_not_required @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,68 +14,68 @@ interactions: connection: [keep-alive] content-length: ['1388'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:49 GMT'] + date: ['Wed, 30 May 2018 15:03:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630289.689254,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692580.016905,VS0,VE156'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:49 GMT'] + date: ['Wed, 30 May 2018 15:03:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630289.152737,VS0,VE405'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692580.226117,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:49 GMT'] + date: ['Wed, 30 May 2018 15:03:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4425-AMS'] - x-timer: ['S1527630290.633465,VS0,VE293'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692580.411011,VS0,VE122'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_fastly_header_priority_not_required b/tests/fixtures/cassettes/test_fastly_header_priority_not_required index 39d65bf..ce06f39 100644 --- a/tests/fixtures/cassettes/test_fastly_header_priority_not_required +++ b/tests/fixtures/cassettes/test_fastly_header_priority_not_required @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,25 +14,25 @@ interactions: connection: [keep-alive] content-length: ['1388'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:50 GMT'] + date: ['Wed, 30 May 2018 15:03:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630290.061756,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692581.627607,VS0,VE155'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -42,25 +42,25 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:50 GMT'] + date: ['Wed, 30 May 2018 15:03:00 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630290.273524,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692581.838593,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -70,13 +70,13 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:50 GMT'] + date: ['Wed, 30 May 2018 15:03:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630290.460469,VS0,VE129'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692581.015028,VS0,VE161'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist b/tests/fixtures/cassettes/test_service_does_exist index ea88c32..518cb36 100644 --- a/tests/fixtures/cassettes/test_service_does_exist +++ b/tests/fixtures/cassettes/test_service_does_exist @@ -6,33 +6,32 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['1388'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:51 GMT'] + date: ['Wed, 30 May 2018 15:03:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630291.766568,VS0,VE247'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692581.317972,VS0,VE146'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:44:48Z","active":true,"number":5,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:39Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:02:59Z","active":true,"number":5,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:02:49Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -42,48 +41,48 @@ interactions: connection: [keep-alive] content-length: ['4703'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:51 GMT'] + date: ['Wed, 30 May 2018 15:03:01 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630291.088706,VS0,VE122'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692582.522991,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/5/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/5/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:51 GMT'] - fastly-ratelimit-remaining: ['859'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:02 GMT'] + fastly-ratelimit-remaining: ['894'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630291.284902,VS0,VE497'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692582.703685,VS0,VE497'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/domain response: - body: {string: !!python/unicode '[{"version":6,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:45Z","comment":"","updated_at":"2018-05-29T21:44:45Z"}]'} + body: {string: !!python/unicode '[{"version":6,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:02:56Z","comment":"","updated_at":"2018-05-30T15:02:56Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -91,21 +90,21 @@ interactions: connection: [keep-alive] content-length: ['185'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:52 GMT'] + date: ['Wed, 30 May 2018 15:03:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527630292.858796,VS0,VE168'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692582.259903,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -115,21 +114,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:52 GMT'] + date: ['Wed, 30 May 2018 15:03:02 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527630292.102305,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692582.437898,VS0,VE451'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/condition response: body: {string: !!python/unicode '[]'} headers: @@ -139,23 +138,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:52 GMT'] + date: ['Wed, 30 May 2018 15:03:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630293.605906,VS0,VE120'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692583.947035,VS0,VE135'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:44:45Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":6,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:45Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:02:56Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":6,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:02:56Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -163,21 +162,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:53 GMT'] + date: ['Wed, 30 May 2018 15:03:03 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527630293.797654,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692583.133192,VS0,VE568'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/director response: body: {string: !!python/unicode '[]'} headers: @@ -187,21 +186,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:53 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630293.286785,VS0,VE376'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692584.755876,VS0,VE250'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -211,21 +210,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:54 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630294.738183,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692584.064042,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -235,24 +234,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:54 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630294.184390,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692584.241129,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/header response: - body: {string: !!python/unicode '[{"priority":"100","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:46Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"6","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:46Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"100","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:02:57Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"6","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:02:57Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -260,21 +259,21 @@ interactions: connection: [keep-alive] content-length: ['415'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:54 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630294.372906,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692584.418319,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -284,24 +283,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:55 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630295.959726,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692585.598739,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"6","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:44:46Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:44:46Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:02:57Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:02:57Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -309,21 +308,45 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:55 GMT'] + date: ['Wed, 30 May 2018 15:03:04 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692585.786086,VS0,VE118'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03: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-ams4424-AMS'] - x-timer: ['S1527630295.148258,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692585.963343,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -333,21 +356,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:55 GMT'] + date: ['Wed, 30 May 2018 15:03:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4124-AMS'] - x-timer: ['S1527630296.591256,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692585.151758,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -357,21 +380,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:56 GMT'] + date: ['Wed, 30 May 2018 15:03:05 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630296.028543,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692585.328626,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -380,23 +403,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:56 GMT'] - fastly-ratelimit-remaining: ['858'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:05 GMT'] + fastly-ratelimit-remaining: ['893'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630297.509980,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692586.529222,VS0,VE468'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/backend/localhost + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -405,23 +428,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:57 GMT'] - fastly-ratelimit-remaining: ['857'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:06 GMT'] + fastly-ratelimit-remaining: ['892'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630297.008251,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692586.056299,VS0,VE187'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/header/Set%20Location%20header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -430,23 +453,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:57 GMT'] - fastly-ratelimit-remaining: ['856'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:06 GMT'] + fastly-ratelimit-remaining: ['891'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630297.499700,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692586.305760,VS0,VE449'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -455,99 +478,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:58 GMT'] - fastly-ratelimit-remaining: ['855'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:06 GMT'] + fastly-ratelimit-remaining: ['890'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630298.008061,VS0,VE163'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692587.810957,VS0,VE181'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":6,"deleted_at":null,"created_at":"2018-05-29T21:44:58Z","updated_at":"2018-05-29T21:44:58Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":6,"deleted_at":null,"created_at":"2018-05-30T15:03:07Z","updated_at":"2018-05-30T15:03:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:58 GMT'] - fastly-ratelimit-remaining: ['854'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:07 GMT'] + fastly-ratelimit-remaining: ['889'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4433-AMS'] - x-timer: ['S1527630298.245300,VS0,VE604'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692587.049889,VS0,VE209'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":6,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:44:59Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:44:59Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":6,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:07Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:07Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:59 GMT'] - fastly-ratelimit-remaining: ['853'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:07 GMT'] + fastly-ratelimit-remaining: ['888'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630299.925277,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692587.317867,VS0,VE169'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"6","updated_at":"2018-05-29T21:44:59Z","deleted_at":null,"created_at":"2018-05-29T21:44:59Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"6","updated_at":"2018-05-30T15:03:07Z","deleted_at":null,"created_at":"2018-05-30T15:03:07Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:44:59 GMT'] - fastly-ratelimit-remaining: ['852'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:07 GMT'] + fastly-ratelimit-remaining: ['887'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527630299.413342,VS0,VE440'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692588.542777,VS0,VE163'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -555,104 +578,103 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"6","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:00Z","updated_at":"2018-05-29T21:45:00Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"6","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:08Z","updated_at":"2018-05-30T15:03:08Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:00 GMT'] - fastly-ratelimit-remaining: ['851'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:08 GMT'] + fastly-ratelimit-remaining: ['886'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630300.928115,VS0,VE393'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692588.762867,VS0,VE427'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":6,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":6,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:00 GMT'] - fastly-ratelimit-remaining: ['850'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:08 GMT'] + fastly-ratelimit-remaining: ['885'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630300.398476,VS0,VE426'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692588.248144,VS0,VE188'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:00Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:01 GMT'] - fastly-ratelimit-remaining: ['849'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:09 GMT'] + fastly-ratelimit-remaining: ['884'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630301.899818,VS0,VE990'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692588.495167,VS0,VE604'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:09Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4943'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:02 GMT'] + date: ['Wed, 30 May 2018 15:03:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630302.965622,VS0,VE146'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692589.156096,VS0,VE157'] status: {code: 200, message: OK} - request: body: null @@ -661,7 +683,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -669,76 +691,75 @@ interactions: connection: [keep-alive] content-length: ['1620'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:02 GMT'] + date: ['Wed, 30 May 2018 15:03:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4446-AMS'] - x-timer: ['S1527630302.186905,VS0,VE455'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692589.373291,VS0,VE148'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:09Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:01Z","active":true,"number":6,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:44:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:09Z","active":true,"number":6,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:02Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['4943'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:02 GMT'] + date: ['Wed, 30 May 2018 15:03:09 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630303.716564,VS0,VE119'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692590.580477,VS0,VE112'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/6/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/6/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:09Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:03 GMT'] - fastly-ratelimit-remaining: ['848'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:10 GMT'] + fastly-ratelimit-remaining: ['883'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630303.913022,VS0,VE449'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692590.750579,VS0,VE478'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/domain response: - body: {string: !!python/unicode '[{"version":7,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:44:58Z","comment":"test1","updated_at":"2018-05-29T21:44:58Z"}]'} + body: {string: !!python/unicode '[{"version":7,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:03:07Z","comment":"test1","updated_at":"2018-05-30T15:03:07Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -746,21 +767,21 @@ interactions: connection: [keep-alive] content-length: ['190'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:03 GMT'] + date: ['Wed, 30 May 2018 15:03:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630303.441208,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692590.283472,VS0,VE387'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -770,21 +791,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:04 GMT'] + date: ['Wed, 30 May 2018 15:03:10 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630304.888961,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692591.725879,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/condition response: body: {string: !!python/unicode '[]'} headers: @@ -794,23 +815,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:04 GMT'] + date: ['Wed, 30 May 2018 15:03:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630304.100754,VS0,VE136'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692591.911755,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:44:59Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":7,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:44:59Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:03:07Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":7,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:03:07Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -818,21 +839,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:04 GMT'] + date: ['Wed, 30 May 2018 15:03:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630304.312064,VS0,VE124'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692591.090652,VS0,VE132'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/director response: body: {string: !!python/unicode '[]'} headers: @@ -842,21 +863,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:04 GMT'] + date: ['Wed, 30 May 2018 15:03:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630305.512350,VS0,VE371'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692591.281504,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -866,21 +887,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:05 GMT'] + date: ['Wed, 30 May 2018 15:03:11 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630305.960135,VS0,VE363'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692592.726111,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -890,24 +911,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:05 GMT'] + date: ['Wed, 30 May 2018 15:03:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527630305.398766,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692592.911385,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:44:59Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"7","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:44:59Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:03:07Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"7","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:03:07Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -915,21 +936,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:05 GMT'] + date: ['Wed, 30 May 2018 15:03:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630306.587894,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692592.092804,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -939,24 +960,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:06 GMT'] + date: ['Wed, 30 May 2018 15:03:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630306.779662,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692592.280464,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/response_object response: body: {string: !!python/unicode '[{"response":"Ok","version":"7","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","cache_condition":"","created_at":"2018-05-29T21:45:00Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:45:00Z"}]'} + 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:03:08Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:03:08Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -964,21 +985,45 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:06 GMT'] + date: ['Wed, 30 May 2018 15:03:12 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692592.465500,VS0,VE131'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/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: ['Wed, 30 May 2018 15:03:12 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527630306.217466,VS0,VE121'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692593.655234,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -988,21 +1033,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:06 GMT'] + date: ['Wed, 30 May 2018 15:03:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630306.414628,VS0,VE401'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692593.836317,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -1012,21 +1057,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:07 GMT'] + date: ['Wed, 30 May 2018 15:03:13 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4431-AMS'] - x-timer: ['S1527630307.892087,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692593.308357,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1035,23 +1080,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:07 GMT'] - fastly-ratelimit-remaining: ['847'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:13 GMT'] + fastly-ratelimit-remaining: ['882'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630307.084457,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692593.488703,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/backend/localhost + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1060,23 +1105,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:08 GMT'] - fastly-ratelimit-remaining: ['846'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:14 GMT'] + fastly-ratelimit-remaining: ['881'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630308.580032,VS0,VE431'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692594.712585,VS0,VE473'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/header/Set%20Location%20header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1085,23 +1130,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:08 GMT'] - fastly-ratelimit-remaining: ['845'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:14 GMT'] + fastly-ratelimit-remaining: ['880'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630308.087728,VS0,VE415'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692594.247366,VS0,VE498'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -1110,99 +1155,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:08 GMT'] - fastly-ratelimit-remaining: ['844'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:14 GMT'] + fastly-ratelimit-remaining: ['879'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4120-AMS'] - x-timer: ['S1527630309.576665,VS0,VE181'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692595.802828,VS0,VE171'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":7,"deleted_at":null,"created_at":"2018-05-29T21:45:09Z","updated_at":"2018-05-29T21:45:09Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":7,"deleted_at":null,"created_at":"2018-05-30T15:03:15Z","updated_at":"2018-05-30T15:03:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:09 GMT'] - fastly-ratelimit-remaining: ['843'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:15 GMT'] + fastly-ratelimit-remaining: ['878'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4426-AMS'] - x-timer: ['S1527630309.832178,VS0,VE443'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692595.033846,VS0,VE469'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":7,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:45:09Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:45:09Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":7,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:15Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:15Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:09 GMT'] - fastly-ratelimit-remaining: ['842'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:15 GMT'] + fastly-ratelimit-remaining: ['877'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630309.351302,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692596.560974,VS0,VE166'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","version":"7","updated_at":"2018-05-29T21:45:10Z","deleted_at":null,"created_at":"2018-05-29T21:45:10Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"7","updated_at":"2018-05-30T15:03:15Z","deleted_at":null,"created_at":"2018-05-30T15:03:15Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:10 GMT'] - fastly-ratelimit-remaining: ['841'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:15 GMT'] + fastly-ratelimit-remaining: ['876'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630310.892824,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692596.788393,VS0,VE159'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "301", "request_condition": "", "name": "Set @@ -1210,87 +1255,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/response_object response: body: {string: !!python/unicode '{"status":"301","request_condition":"","name":"Set - 301 status code","content":"","content_type":"","response":"Ok","service_id":"3GTirFgnHAczrMJvfSUfDx","version":"7","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:10Z","updated_at":"2018-05-29T21:45:10Z"}'} + 301 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"7","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:16Z","updated_at":"2018-05-30T15:03:16Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:10 GMT'] - fastly-ratelimit-remaining: ['840'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:16 GMT'] + fastly-ratelimit-remaining: ['875'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4434-AMS'] - x-timer: ['S1527630310.403747,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692596.005657,VS0,VE458'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":7,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":7,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:11 GMT'] - fastly-ratelimit-remaining: ['839'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:16 GMT'] + fastly-ratelimit-remaining: ['874'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630311.888176,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692597.525794,VS0,VE468'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/7/activate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:10Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:16Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:12 GMT'] - fastly-ratelimit-remaining: ['838'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:17 GMT'] + fastly-ratelimit-remaining: ['873'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630311.385083,VS0,VE989'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692597.054603,VS0,VE870'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:12Z","active":true,"number":7,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:12Z","active":true,"number":7,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:03Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -1300,13 +1345,13 @@ interactions: connection: [keep-alive] content-length: ['5175'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:12 GMT'] + date: ['Wed, 30 May 2018 15:03:18 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4444-AMS'] - x-timer: ['S1527630312.448308,VS0,VE139'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692598.980838,VS0,VE149'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled index 2a76f49..4c677e9 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_exist_and_activate_new_version_is_disabled @@ -6,74 +6,675 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['1852'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:18 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692598.250836,VS0,VE146'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + response: + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:17Z","active":true,"number":7,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:10Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['5175'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:18 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692598.451666,VS0,VE175'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/7/clone + response: + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['232'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:19 GMT'] + fastly-ratelimit-remaining: ['872'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692599.682121,VS0,VE514'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/domain + response: + body: {string: !!python/unicode '[{"version":8,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:03:15Z","comment":"test1","updated_at":"2018-05-30T15:03:15Z"}]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['694'] + content-length: ['190'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:05 GMT'] + date: ['Wed, 30 May 2018 15:03:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527631085.452355,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692599.247877,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/healthcheck response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" - req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:19 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692599.443590,VS0,VE126'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/condition + response: + body: {string: !!python/unicode '[]'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2376'] + content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:06 GMT'] + date: ['Wed, 30 May 2018 15:03:19 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527631086.980795,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692600.626123,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/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":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:03:15Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":8,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:03:15Z","comment":""}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['718'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:19 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692600.805576,VS0,VE133'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/director + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:20 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692600.997199,VS0,VE388'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/cache_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:20 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692600.436131,VS0,VE124'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/gzip + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:20 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692601.620938,VS0,VE116'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/header + response: + body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:03:15Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"8","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:03:15Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['414'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:21 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692601.793555,VS0,VE412'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/request_settings + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:21 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692601.257694,VS0,VE427'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/response_object + response: + body: {string: !!python/unicode '[{"response":"Ok","version":"8","status":"301","name":"Set + 301 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:03:16Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:03:16Z"}]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['280'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:21 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692602.742449,VS0,VE120'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692602.918099,VS0,VE129'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/logging/s3 + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692602.102533,VS0,VE128'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/logging/syslog + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:22 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692602.288553,VS0,VE125'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/domain/cdn.example8000.com + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:22 GMT'] + fastly-ratelimit-remaining: ['871'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692602.466267,VS0,VE205'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/backend/localhost + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:22 GMT'] + fastly-ratelimit-remaining: ['870'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692603.729989,VS0,VE256'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/header/Set%20Location%20header + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:23 GMT'] + fastly-ratelimit-remaining: ['869'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692603.039510,VS0,VE169'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: DELETE + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/response_object/Set%20301%20status%20code + response: + body: {string: !!python/unicode '{"status":"ok"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['15'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:23 GMT'] + fastly-ratelimit-remaining: ['868'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692603.266600,VS0,VE464'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/domain + response: + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":8,"deleted_at":null,"created_at":"2018-05-30T15:03:24Z","updated_at":"2018-05-30T15:03:24Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['188'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:24 GMT'] + fastly-ratelimit-remaining: ['867'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692604.792562,VS0,VE487'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": + "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": + null, "shield": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/backend + response: + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":8,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:24Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:24Z","comment":""}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['716'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:24 GMT'] + fastly-ratelimit-remaining: ['866'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692604.338514,VS0,VE178'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": + null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/header + response: + body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"8","updated_at":"2018-05-30T15:03:24Z","deleted_at":null,"created_at":"2018-05-30T15:03:24Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['412'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:25 GMT'] + fastly-ratelimit-remaining: ['865'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692605.577029,VS0,VE438'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set + 302 status code", "content": "", "content_type": "", "response": "Ok"}' + headers: + Content-Type: [application/json] + method: POST + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/response_object + response: + body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set + 302 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"8","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:25Z","updated_at":"2018-05-30T15:03:25Z"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['278'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:25 GMT'] + fastly-ratelimit-remaining: ['864'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692605.075410,VS0,VE205'] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"general.default_ttl": 3600}' + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/settings + response: + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":8,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['194'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:25 GMT'] + fastly-ratelimit-remaining: ['863'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692605.331901,VS0,VE462'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: PUT + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/activate + response: + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:25Z","deployed":false,"msg":null}'} + headers: + accept-ranges: [bytes] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['241'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:26 GMT'] + fastly-ratelimit-remaining: ['862'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692606.852166,VS0,VE708'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details + response: + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":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":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2376'] + content-length: ['5407'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:06 GMT'] + date: ['Wed, 30 May 2018 15:03:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4428-AMS'] - x-timer: ['S1527631087.501071,VS0,VE114'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692607.617802,VS0,VE149'] status: {code: 200, message: OK} - request: body: null @@ -82,82 +683,83 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['694'] + content-length: ['2084'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:07 GMT'] + date: ['Wed, 30 May 2018 15:03:26 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4432-AMS'] - x-timer: ['S1527631087.686355,VS0,VE375'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692607.827052,VS0,VE147'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2376'] + content-length: ['5407'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:07 GMT'] + date: ['Wed, 30 May 2018 15:03:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527631087.133261,VS0,VE156'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692607.032072,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/clone + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":3,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:07 GMT'] - fastly-ratelimit-remaining: ['672'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:27 GMT'] + fastly-ratelimit-remaining: ['861'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527631087.361078,VS0,VE456'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692607.223225,VS0,VE490'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/domain response: - body: {string: !!python/unicode '[{"version":3,"name":"cdn.example8000.com","deleted_at":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","created_at":"2018-05-29T21:45:57Z","comment":"test1","updated_at":"2018-05-29T21:45:57Z"}]'} + body: {string: !!python/unicode '[{"version":9,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","created_at":"2018-05-30T15:03:24Z","comment":"test1","updated_at":"2018-05-30T15:03:24Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -165,21 +767,21 @@ interactions: connection: [keep-alive] content-length: ['190'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:08 GMT'] + date: ['Wed, 30 May 2018 15:03:27 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527631088.890287,VS0,VE372'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692608.775858,VS0,VE136'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/healthcheck + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -189,21 +791,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:08 GMT'] + date: ['Wed, 30 May 2018 15:03:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527631088.333439,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692608.968480,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/condition + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/condition response: body: {string: !!python/unicode '[]'} headers: @@ -213,23 +815,23 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:09 GMT'] + date: ['Wed, 30 May 2018 15:03:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527631089.775577,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692608.147657,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/backend response: - body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-29T21:45:58Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":3,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-29T21:45:58Z","comment":""}]'} + body: {string: !!python/unicode '[{"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"error_threshold":0,"first_byte_timeout":15000,"client_cert":null,"weight":100,"address":"127.0.0.1","updated_at":"2018-05-30T15:03:24Z","connect_timeout":1000,"ipv4":"127.0.0.1","ssl_ciphers":null,"name":"localhost","port":80,"between_bytes_timeout":10000,"ssl_client_key":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","request_condition":"","ssl_cert_hostname":null,"ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"version":9,"deleted_at":null,"healthcheck":null,"max_conn":200,"use_ssl":false,"created_at":"2018-05-30T15:03:24Z","comment":""}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -237,21 +839,21 @@ interactions: connection: [keep-alive] content-length: ['718'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:09 GMT'] + date: ['Wed, 30 May 2018 15:03:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527631089.210946,VS0,VE367'] + x-served-by: ['app-slwdc9051-SL, cache-fra19134-FRA'] + x-timer: ['S1527692608.333984,VS0,VE140'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/director + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/director response: body: {string: !!python/unicode '[]'} headers: @@ -261,21 +863,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:10 GMT'] + date: ['Wed, 30 May 2018 15:03:28 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527631090.652436,VS0,VE375'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692609.535185,VS0,VE120'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/cache_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -285,21 +887,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:10 GMT'] + date: ['Wed, 30 May 2018 15:03:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527631090.190741,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19123-FRA'] + x-timer: ['S1527692609.715166,VS0,VE382'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/gzip + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -309,24 +911,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:10 GMT'] + date: ['Wed, 30 May 2018 15:03:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4136-AMS'] - x-timer: ['S1527631091.702141,VS0,VE115'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692609.156428,VS0,VE132'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/header response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"57Y1hKLhUxDEk5fr6QHM8L","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:45:58Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"3","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:45:58Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} + body: {string: !!python/unicode '[{"priority":"10","service_id":"3ZJX761dAvvieS2zmWrjfx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-30T15:03:24Z","src":"\"https://u.jimcdn.com\" + req.url.path","version":"9","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-30T15:03:24Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -334,21 +936,21 @@ interactions: connection: [keep-alive] content-length: ['414'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:11 GMT'] + date: ['Wed, 30 May 2018 15:03:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527631091.886763,VS0,VE369'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692609.347266,VS0,VE130'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/request_settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -358,24 +960,24 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:11 GMT'] + date: ['Wed, 30 May 2018 15:03:29 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527631091.417121,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692610.539448,VS0,VE124'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/response_object response: - body: {string: !!python/unicode '[{"response":"Ok","version":"3","status":"302","name":"Set - 302 status code","content":"","deleted_at":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","cache_condition":"","created_at":"2018-05-29T21:45:59Z","content_type":"","request_condition":"","updated_at":"2018-05-29T21:45:59Z"}]'} + body: {string: !!python/unicode '[{"response":"Ok","version":"9","status":"302","name":"Set + 302 status code","content":"","deleted_at":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","cache_condition":"","created_at":"2018-05-30T15:03:25Z","content_type":"","request_condition":"","updated_at":"2018-05-30T15:03:25Z"}]'} headers: accept-ranges: [bytes] age: ['0'] @@ -383,21 +985,45 @@ interactions: connection: [keep-alive] content-length: ['280'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:11 GMT'] + date: ['Wed, 30 May 2018 15:03:30 GMT'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692610.721746,VS0,VE409'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/snippet + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4135-AMS'] - x-timer: ['S1527631092.852389,VS0,VE113'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692610.192518,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/snippet + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -407,21 +1033,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:12 GMT'] + date: ['Wed, 30 May 2018 15:03:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4125-AMS'] - x-timer: ['S1527631092.040206,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692611.660275,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/logging/s3 + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -431,21 +1057,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:12 GMT'] + date: ['Wed, 30 May 2018 15:03:30 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527631092.228010,VS0,VE361'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692611.841495,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/domain/cdn.example8000.com + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/domain/cdn.example8000.com response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -454,23 +1080,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:13 GMT'] - fastly-ratelimit-remaining: ['671'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:31 GMT'] + fastly-ratelimit-remaining: ['860'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4127-AMS'] - x-timer: ['S1527631093.752907,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692611.017708,VS0,VE184'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/backend/localhost + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/backend/localhost response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -479,23 +1105,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:13 GMT'] - fastly-ratelimit-remaining: ['670'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:31 GMT'] + fastly-ratelimit-remaining: ['859'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4442-AMS'] - x-timer: ['S1527631093.260471,VS0,VE428'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692611.261028,VS0,VE459'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/header/Set%20Location%20header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/header/Set%20Location%20header response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -504,23 +1130,23 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:14 GMT'] - fastly-ratelimit-remaining: ['669'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:32 GMT'] + fastly-ratelimit-remaining: ['858'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527631094.771872,VS0,VE445'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692612.779760,VS0,VE222'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/response_object/Set%20302%20status%20code + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/response_object/Set%20302%20status%20code response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -529,99 +1155,99 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:14 GMT'] - fastly-ratelimit-remaining: ['668'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:32 GMT'] + fastly-ratelimit-remaining: ['857'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527631094.289740,VS0,VE412'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692612.061143,VS0,VE704'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/domain + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":3,"deleted_at":null,"created_at":"2018-05-29T21:58:15Z","updated_at":"2018-05-29T21:58:15Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3ZJX761dAvvieS2zmWrjfx","version":9,"deleted_at":null,"created_at":"2018-05-30T15:03:33Z","updated_at":"2018-05-30T15:03:33Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:15 GMT'] - fastly-ratelimit-remaining: ['667'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:33 GMT'] + fastly-ratelimit-remaining: ['856'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527631095.797818,VS0,VE430'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692613.822002,VS0,VE273'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/backend + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":3,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:58:15Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:58:15Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":9,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:33Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:33Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:15 GMT'] - fastly-ratelimit-remaining: ['666'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:33 GMT'] + fastly-ratelimit-remaining: ['855'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527631095.301983,VS0,VE414'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692613.148772,VS0,VE542'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/header + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"3","updated_at":"2018-05-29T21:58:16Z","deleted_at":null,"created_at":"2018-05-29T21:58:16Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"3ZJX761dAvvieS2zmWrjfx","version":"9","updated_at":"2018-05-30T15:03:34Z","deleted_at":null,"created_at":"2018-05-30T15:03:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:16 GMT'] - fastly-ratelimit-remaining: ['665'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:34 GMT'] + fastly-ratelimit-remaining: ['854'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4448-AMS'] - x-timer: ['S1527631096.821635,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692614.752572,VS0,VE626'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "301", "request_condition": "", "name": "Set @@ -629,76 +1255,78 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/response_object + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/response_object response: body: {string: !!python/unicode '{"status":"301","request_condition":"","name":"Set - 301 status code","content":"","content_type":"","response":"Ok","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"3","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:58:16Z","updated_at":"2018-05-29T21:58:16Z"}'} + 301 status code","content":"","content_type":"","response":"Ok","service_id":"3ZJX761dAvvieS2zmWrjfx","version":"9","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:34Z","updated_at":"2018-05-30T15:03:34Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:16 GMT'] - fastly-ratelimit-remaining: ['664'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:34 GMT'] + fastly-ratelimit-remaining: ['853'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4436-AMS'] - x-timer: ['S1527631096.333500,VS0,VE407'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692614.440519,VS0,VE472'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/3/settings + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/9/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":3,"general.default_host":"","general.default_pci":0,"service_id":"57Y1hKLhUxDEk5fr6QHM8L"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":9,"general.default_host":"","general.default_pci":0,"service_id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:17 GMT'] - fastly-ratelimit-remaining: ['663'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:35 GMT'] + fastly-ratelimit-remaining: ['852'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527631097.813526,VS0,VE420'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692615.973963,VS0,VE495'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false},{"testing":false,"locked":false,"number":3,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:58:07Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:58:16Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:58:16Z","active":false,"number":3,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:58:07Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2609'] + content-length: ['5642'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:58:17 GMT'] + date: ['Wed, 30 May 2018 15:03:35 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527631097.311631,VS0,VE438'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692616.526328,VS0,VE203'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal index f3e810f..93b6ae7 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal +++ b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal @@ -6,652 +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":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:12Z","active":true,"number":7,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:03Z","comment":""},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2085'] + content-length: ['2317'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:23 GMT'] + date: ['Wed, 30 May 2018 15:03:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630323.220079,VS0,VE411'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692616.859161,VS0,VE158'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"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.stale_if_error_ttl":43200,"general.stale_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\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set - 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['5410'] - content-type: [application/json] - 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-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/3GTirFgnHAczrMJvfSUfDx/version/7/clone - response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['232'] - content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:24 GMT'] - fastly-ratelimit-remaining: ['827'] - fastly-ratelimit-reset: ['1527631200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4137-AMS'] - x-timer: ['S1527630324.149780,VS0,VE428'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/domain - response: - body: {string: !!python/unicode '[{"version":9,"name":"cdn.example8000.com","deleted_at":null,"service_id":"3GTirFgnHAczrMJvfSUfDx","created_at":"2018-05-29T21:45:09Z","comment":"test1","updated_at":"2018-05-29T21:45:09Z"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['190'] - content-type: [application/json] - 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-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/3GTirFgnHAczrMJvfSUfDx/version/9/healthcheck - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['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-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/3GTirFgnHAczrMJvfSUfDx/version/9/condition - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['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-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/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-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: ['718'] - content-type: [application/json] - 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-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/3GTirFgnHAczrMJvfSUfDx/version/9/director - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['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-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/3GTirFgnHAczrMJvfSUfDx/version/9/cache_settings - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['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-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/3GTirFgnHAczrMJvfSUfDx/version/9/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: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-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/3GTirFgnHAczrMJvfSUfDx/version/9/header - response: - body: {string: !!python/unicode '[{"priority":"10","service_id":"3GTirFgnHAczrMJvfSUfDx","ignore_if_set":"0","request_condition":null,"response_condition":null,"updated_at":"2018-05-29T21:45:10Z","src":"\"https://u.jimcdn.com\" - req.url.path","version":"9","name":"Set Location header","deleted_at":null,"substitution":"","cache_condition":null,"created_at":"2018-05-29T21:45:10Z","regex":"","action":"set","type":"response","dst":"http.Location"}]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['414'] - content-type: [application/json] - 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-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/3GTirFgnHAczrMJvfSUfDx/version/9/request_settings - response: - body: {string: !!python/unicode '[]'} - headers: - accept-ranges: [bytes] - age: ['0'] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['2'] - content-type: [application/json] - date: ['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-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/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":"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: ['280'] - content-type: [application/json] - 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-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/3GTirFgnHAczrMJvfSUfDx/version/9/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: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-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 '[]'} + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['2'] - content-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/3GTirFgnHAczrMJvfSUfDx/version/9/domain/cdn.example8000.com - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['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-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/3GTirFgnHAczrMJvfSUfDx/version/9/backend/localhost - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['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-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/3GTirFgnHAczrMJvfSUfDx/version/9/header/Set%20Location%20header - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] - content-type: [application/json] - date: ['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-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/3GTirFgnHAczrMJvfSUfDx/version/9/response_object/Set%20301%20status%20code - response: - body: {string: !!python/unicode '{"status":"ok"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['15'] + content-length: ['5642'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:30 GMT'] - fastly-ratelimit-remaining: ['823'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-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/3GTirFgnHAczrMJvfSUfDx/version/9/domain - response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"3GTirFgnHAczrMJvfSUfDx","version":9,"deleted_at":null,"created_at":"2018-05-29T21:45:31Z","updated_at":"2018-05-29T21:45:31Z"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['188'] - content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:31 GMT'] - fastly-ratelimit-remaining: ['822'] - fastly-ratelimit-reset: ['1527631200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630331.913255,VS0,VE446'] - 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/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":"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: ['716'] - content-type: [application/json] - 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-ams4446-AMS'] - x-timer: ['S1527630331.436719,VS0,VE413'] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": - null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' - headers: - Content-Type: [application/json] - method: POST - 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":"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: ['412'] - content-type: [application/json] - 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-ams4121-AMS'] - x-timer: ['S1527630332.929604,VS0,VE161'] - 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/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":"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: ['278'] - content-type: [application/json] - 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-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/3GTirFgnHAczrMJvfSUfDx/version/9/settings - response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":9,"general.default_host":"","general.default_pci":0,"service_id":"3GTirFgnHAczrMJvfSUfDx"}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['194'] - content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:33 GMT'] - fastly-ratelimit-remaining: ['818'] - fastly-ratelimit-reset: ['1527631200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630333.641624,VS0,VE419'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Content-Type: [application/json] - method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/activate - response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":true,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:32Z","deployed":false,"msg":null}'} - headers: - accept-ranges: [bytes] - cache-control: [no-cache] - connection: [keep-alive] - content-length: ['241'] - content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:34 GMT'] - fastly-ratelimit-remaining: ['817'] - fastly-ratelimit-reset: ['1527631200'] - status: [200 OK] - vary: [Accept-Encoding] - via: [1.1 varnish, 1.1 varnish] - x-cache: ['MISS, MISS'] - x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630333.138306,VS0,VE885'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692616.075870,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"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.stale_if_error_ttl":43200,"general.stale_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\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:34 GMT'] + date: ['Wed, 30 May 2018 15:03:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630334.098532,VS0,VE137'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692616.255526,VS0,VE384'] status: {code: 200, message: OK} - request: body: null @@ -660,61 +84,59 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:34 GMT'] + date: ['Wed, 30 May 2018 15:03:36 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630334.311309,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692617.697626,VS0,VE149'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"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.stale_if_error_ttl":43200,"general.stale_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\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:34 GMT'] + date: ['Wed, 30 May 2018 15:03:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630335.782206,VS0,VE108'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692617.907321,VS0,VE113'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"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.stale_if_error_ttl":43200,"general.stale_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\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -722,15 +144,15 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:35 GMT'] + date: ['Wed, 30 May 2018 15:03:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630335.964132,VS0,VE106'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692617.079565,VS0,VE121'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled index f32d603..bd02b71 100644 --- a/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_exist_and_configuration_is_equal_and_activate_new_version_is_disabled @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,69 +14,68 @@ interactions: connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:35 GMT'] + date: ['Wed, 30 May 2018 15:03:37 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630335.228017,VS0,VE134'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692617.326204,VS0,VE416'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"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.stale_if_error_ttl":43200,"general.stale_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\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:35 GMT'] + date: ['Wed, 30 May 2018 15:03:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630335.435110,VS0,VE107'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692618.799827,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"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.stale_if_error_ttl":43200,"general.stale_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\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] - age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:35 GMT'] + date: ['Wed, 30 May 2018 15:03:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630336.617219,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA'] + x-timer: ['S1527692618.245578,VS0,VE122'] status: {code: 200, message: OK} - request: body: null @@ -85,32 +84,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:36 GMT'] + date: ['Wed, 30 May 2018 15:03:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4126-AMS'] - x-timer: ['S1527630336.804410,VS0,VE392'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692618.425972,VS0,VE146'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"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.stale_if_error_ttl":43200,"general.stale_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\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -118,42 +118,43 @@ interactions: age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:36 GMT'] + date: ['Wed, 30 May 2018 15:03:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630336.274009,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19125-FRA'] + x-timer: ['S1527692619.629268,VS0,VE122'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"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.stale_if_error_ttl":43200,"general.stale_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\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:36 GMT'] + date: ['Wed, 30 May 2018 15:03:38 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630336.457536,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692619.806440,VS0,VE118'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_not_exist b/tests/fixtures/cassettes/test_service_does_not_exist index 47542d7..54e4a84 100644 --- a/tests/fixtures/cassettes/test_service_does_not_exist +++ b/tests/fixtures/cassettes/test_service_does_not_exist @@ -6,7 +6,7 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:09Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:09Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:27Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:37Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:29Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:44:48Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:01Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:44:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:12Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:03Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false},{"testing":false,"locked":false,"number":8,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:13Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:21Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:33Z","active":true,"number":9,"service_id":"3GTirFgnHAczrMJvfSUfDx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:24Z","comment":""}],"created_at":"2018-05-29T21:44:09Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:44:09Z","id":"3GTirFgnHAczrMJvfSUfDx"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":""},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx"}'} headers: accept-ranges: [bytes] age: ['0'] @@ -14,73 +14,74 @@ interactions: connection: [keep-alive] content-length: ['2317'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:37 GMT'] + date: ['Wed, 30 May 2018 15:03:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4424-AMS'] - x-timer: ['S1527630337.959488,VS0,VE142'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692619.023877,VS0,VE178'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/details + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"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.stale_if_error_ttl":43200,"general.stale_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\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:23Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:23Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:40Z","deployed":false},{"testing":false,"locked":true,"number":3,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:32Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:48Z","deployed":false},{"testing":false,"locked":true,"number":4,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:02:59Z","deployed":false},{"testing":false,"locked":true,"number":5,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:02:49Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:08Z","deployed":false},{"testing":false,"locked":true,"number":6,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:02Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:17Z","deployed":false},{"testing":false,"locked":true,"number":7,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:10Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":true,"number":8,"active":true,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false},{"testing":false,"locked":false,"number":9,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:27Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:34Z","deployed":false}],"created_at":"2018-05-30T15:02:23Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:02:23Z","id":"3ZJX761dAvvieS2zmWrjfx","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:34Z","active":false,"number":9,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:27Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"301","response":"Ok","name":"Set + 301 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:26Z","active":true,"number":8,"service_id":"3ZJX761dAvvieS2zmWrjfx","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] - content-length: ['5640'] + content-length: ['5642'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:37 GMT'] + date: ['Wed, 30 May 2018 15:03:39 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4441-AMS'] - x-timer: ['S1527630337.177855,VS0,VE360'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692619.261004,VS0,VE160'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx/version/9/deactivate + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx/version/8/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":9,"active":false,"service_id":"3GTirFgnHAczrMJvfSUfDx","staging":false,"created_at":"2018-05-29T21:45:24Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:33Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":8,"active":false,"service_id":"3ZJX761dAvvieS2zmWrjfx","staging":false,"created_at":"2018-05-30T15:03:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:26Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:38 GMT'] - fastly-ratelimit-remaining: ['816'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:39 GMT'] + fastly-ratelimit-remaining: ['851'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630338.613725,VS0,VE458'] + x-served-by: ['app-slwdc9051-SL, cache-fra19136-FRA'] + x-timer: ['S1527692619.479252,VS0,VE205'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/3GTirFgnHAczrMJvfSUfDx + uri: https://api.fastly.com/service/3ZJX761dAvvieS2zmWrjfx response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,16 +90,16 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:38 GMT'] - fastly-ratelimit-remaining: ['815'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:40 GMT'] + fastly-ratelimit-remaining: ['850'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630338.465960,VS0,VE390'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692620.743147,VS0,VE435'] status: {code: 200, message: OK} - request: body: null @@ -116,14 +117,14 @@ interactions: connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:39 GMT'] + date: ['Wed, 30 May 2018 15:03:40 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] - x-timer: ['S1527630339.275645,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692620.235522,VS0,VE125'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -133,32 +134,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"34bde2373978f3e8697b2f8830349de66d875a78","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:45:39Z","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi"}'} + Fastly Ansible Module Test","publish_key":"fe248178d3a9484e1881a6ca2b11d80089d77bb8","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:03:40Z","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['518'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:40 GMT'] - fastly-ratelimit-remaining: ['814'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:40 GMT'] + fastly-ratelimit-remaining: ['849'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4447-AMS'] - x-timer: ['S1527630340.652842,VS0,VE383'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692620.420334,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/details + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:39Z","active":false,"number":1,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:39Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:40Z","active":false,"number":1,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:40Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -166,46 +167,70 @@ interactions: connection: [keep-alive] content-length: ['1113'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:40 GMT'] + date: ['Wed, 30 May 2018 15:03:41 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4445-AMS'] - x-timer: ['S1527630340.340675,VS0,VE155'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692621.890150,VS0,VE449'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/1/clone + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:41 GMT'] - fastly-ratelimit-remaining: ['813'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:41 GMT'] + fastly-ratelimit-remaining: ['848'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692621.397029,VS0,VE475'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/domain + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630341.719201,VS0,VE488'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692622.929667,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/domain + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -215,21 +240,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:41 GMT'] + date: ['Wed, 30 May 2018 15:03:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630341.410167,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692622.110793,VS0,VE411'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/healthcheck + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -239,21 +264,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:42 GMT'] + date: ['Wed, 30 May 2018 15:03:42 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630342.125233,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692623.579092,VS0,VE386'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/condition + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -263,21 +288,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:42 GMT'] + date: ['Wed, 30 May 2018 15:03:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630342.331953,VS0,VE153'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692623.021700,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/backend + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -287,21 +312,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:42 GMT'] + date: ['Wed, 30 May 2018 15:03:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4429-AMS'] - x-timer: ['S1527630343.557883,VS0,VE368'] + x-served-by: ['app-slwdc9051-SL, cache-fra19139-FRA'] + x-timer: ['S1527692623.198179,VS0,VE157'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/director + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -311,21 +336,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:43 GMT'] + date: ['Wed, 30 May 2018 15:03:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630343.000989,VS0,VE403'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692623.421034,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/cache_settings + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -335,21 +360,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:43 GMT'] + date: ['Wed, 30 May 2018 15:03:43 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630343.477792,VS0,VE365'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692624.605494,VS0,VE118'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/gzip + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -359,21 +384,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:44 GMT'] + date: ['Wed, 30 May 2018 15:03:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4121-AMS'] - x-timer: ['S1527630344.919621,VS0,VE398'] + x-served-by: ['app-slwdc9051-SL, cache-fra19120-FRA'] + x-timer: ['S1527692624.780124,VS0,VE390'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/header + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -383,21 +408,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:44 GMT'] + date: ['Wed, 30 May 2018 15:03:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4141-AMS'] - x-timer: ['S1527630344.390296,VS0,VE111'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692624.228147,VS0,VE129'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/request_settings + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -407,21 +432,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:44 GMT'] + date: ['Wed, 30 May 2018 15:03:44 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4437-AMS'] - x-timer: ['S1527630345.574493,VS0,VE404'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692624.414672,VS0,VE128'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/response_object + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -431,21 +456,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:45 GMT'] + date: ['Wed, 30 May 2018 15:03:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4427-AMS'] - x-timer: ['S1527630345.051376,VS0,VE118'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692625.603424,VS0,VE452'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/snippet + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -455,21 +480,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:45 GMT'] + date: ['Wed, 30 May 2018 15:03:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630345.244862,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692625.111956,VS0,VE123'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/logging/s3 + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -479,97 +504,97 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:45 GMT'] + date: ['Wed, 30 May 2018 15:03:45 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4140-AMS'] - x-timer: ['S1527630345.436491,VS0,VE370'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692625.293831,VS0,VE415'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/domain + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":2,"deleted_at":null,"created_at":"2018-05-29T21:45:46Z","updated_at":"2018-05-29T21:45:46Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"4yGvzhUp0zdxyqqOAppQub","version":2,"deleted_at":null,"created_at":"2018-05-30T15:03:45Z","updated_at":"2018-05-30T15:03:45Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:46 GMT'] - fastly-ratelimit-remaining: ['812'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:46 GMT'] + fastly-ratelimit-remaining: ['847'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4435-AMS'] - x-timer: ['S1527630346.889841,VS0,VE456'] + x-served-by: ['app-slwdc9051-SL, cache-fra19126-FRA'] + x-timer: ['S1527692626.766687,VS0,VE253'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/backend + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:45:46Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:45:46Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"4yGvzhUp0zdxyqqOAppQub","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:46Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:46Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:46 GMT'] - fastly-ratelimit-remaining: ['811'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:46 GMT'] + fastly-ratelimit-remaining: ['846'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4430-AMS'] - x-timer: ['S1527630346.416811,VS0,VE418'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692626.079503,VS0,VE446'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/header + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":"2","updated_at":"2018-05-29T21:45:47Z","deleted_at":null,"created_at":"2018-05-29T21:45:47Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"4yGvzhUp0zdxyqqOAppQub","version":"2","updated_at":"2018-05-30T15:03:46Z","deleted_at":null,"created_at":"2018-05-30T15:03:46Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:47 GMT'] - fastly-ratelimit-remaining: ['810'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:47 GMT'] + fastly-ratelimit-remaining: ['845'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4129-AMS'] - x-timer: ['S1527630347.912825,VS0,VE410'] + x-served-by: ['app-slwdc9051-SL, cache-fra19148-FRA'] + x-timer: ['S1527692627.586772,VS0,VE414'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -577,87 +602,87 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/response_object + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"4u2fnCmSqvXoeMaXUyWWRi","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:47Z","updated_at":"2018-05-29T21:45:47Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"4yGvzhUp0zdxyqqOAppQub","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:47Z","updated_at":"2018-05-30T15:03:47Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:47 GMT'] - fastly-ratelimit-remaining: ['809'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:47 GMT'] + fastly-ratelimit-remaining: ['844'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4450-AMS'] - x-timer: ['S1527630347.396927,VS0,VE394'] + x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA'] + x-timer: ['S1527692627.055292,VS0,VE187'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/settings + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4u2fnCmSqvXoeMaXUyWWRi"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"4yGvzhUp0zdxyqqOAppQub"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:48 GMT'] - fastly-ratelimit-remaining: ['808'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:47 GMT'] + fastly-ratelimit-remaining: ['843'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4133-AMS'] - x-timer: ['S1527630348.870023,VS0,VE416'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692627.301915,VS0,VE464'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/activate + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/activate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:47Z","deployed":false,"msg":null}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:47Z","deployed":false,"msg":null}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['241'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:49 GMT'] - fastly-ratelimit-remaining: ['807'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:48 GMT'] + fastly-ratelimit-remaining: ['842'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4134-AMS'] - x-timer: ['S1527630348.362801,VS0,VE1034'] + x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA'] + x-timer: ['S1527692628.825642,VS0,VE1052'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/details + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:49Z","deployed":false}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:48Z","deployed":false}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -667,13 +692,13 @@ interactions: connection: [keep-alive] content-length: ['4015'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:49 GMT'] + date: ['Wed, 30 May 2018 15:03:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630349.473028,VS0,VE145'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692629.938347,VS0,VE225'] status: {code: 200, message: OK} version: 1 diff --git a/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled b/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled index 89c5e1a..265aa9a 100644 --- a/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled +++ b/tests/fixtures/cassettes/test_service_does_not_exist_and_activate_new_version_is_disabled @@ -6,32 +6,33 @@ interactions: method: GET uri: https://api.fastly.com/service/search?name=Jimdo%20Fastly%20Ansible%20Module%20Test response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","comment":""}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi"}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","comment":""}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub"}'} headers: accept-ranges: [bytes] + age: ['0'] cache-control: [no-cache] connection: [keep-alive] content-length: ['692'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:50 GMT'] + date: ['Wed, 30 May 2018 15:03:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4123-AMS'] - x-timer: ['S1527630350.766916,VS0,VE389'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692629.268296,VS0,VE145'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/details + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:39Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:39Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:49Z","deployed":false}],"created_at":"2018-05-29T21:45:39Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:39Z","id":"4u2fnCmSqvXoeMaXUyWWRi","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:40Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:40Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:48Z","deployed":false}],"created_at":"2018-05-30T15:03:40Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:40Z","id":"4yGvzhUp0zdxyqqOAppQub","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set - 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:49Z","active":true,"number":2,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-29T21:45:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:48Z","active":true,"number":2,"service_id":"4yGvzhUp0zdxyqqOAppQub","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:03:41Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'} headers: @@ -41,46 +42,46 @@ interactions: connection: [keep-alive] content-length: ['4015'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:50 GMT'] + date: ['Wed, 30 May 2018 15:03:49 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4130-AMS'] - x-timer: ['S1527630350.232843,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA'] + x-timer: ['S1527692629.470595,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi/version/2/deactivate + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub/version/2/deactivate response: - body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4u2fnCmSqvXoeMaXUyWWRi","staging":false,"created_at":"2018-05-29T21:45:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:49Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4yGvzhUp0zdxyqqOAppQub","staging":false,"created_at":"2018-05-30T15:03:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:48Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['231'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:50 GMT'] - fastly-ratelimit-remaining: ['806'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:49 GMT'] + fastly-ratelimit-remaining: ['841'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630350.415828,VS0,VE232'] + x-served-by: ['app-slwdc9051-SL, cache-fra19124-FRA'] + x-timer: ['S1527692630.650662,VS0,VE219'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: DELETE - uri: https://api.fastly.com/service/4u2fnCmSqvXoeMaXUyWWRi + uri: https://api.fastly.com/service/4yGvzhUp0zdxyqqOAppQub response: body: {string: !!python/unicode '{"status":"ok"}'} headers: @@ -89,16 +90,16 @@ interactions: connection: [keep-alive] content-length: ['15'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:51 GMT'] - fastly-ratelimit-remaining: ['805'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:50 GMT'] + fastly-ratelimit-remaining: ['840'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4449-AMS'] - x-timer: ['S1527630351.720371,VS0,VE390'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692630.929037,VS0,VE420'] status: {code: 200, message: OK} - request: body: null @@ -115,14 +116,14 @@ interactions: connection: [keep-alive] content-length: ['117'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:51 GMT'] + date: ['Wed, 30 May 2018 15:03:50 GMT'] status: [404 Not Found] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630351.184330,VS0,VE399'] + x-served-by: ['app-slwdc9051-SL, cache-fra19143-FRA'] + x-timer: ['S1527692630.405580,VS0,VE383'] status: {code: 404, message: Not Found} - request: body: !!python/unicode '{"name": "Jimdo Fastly Ansible Module Test"}' @@ -132,32 +133,32 @@ interactions: uri: https://api.fastly.com/service response: body: {string: !!python/unicode '{"customer_id":"31RPDMBpiruA1yfGA2djLm","name":"Jimdo - Fastly Ansible Module Test","publish_key":"75af2885871f9013fab19959fad10c6aa3d86569","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-29T21:45:51Z","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L"}'} + Fastly Ansible Module Test","publish_key":"99d5f7a23f2d60310e68a50b108120893ba61b8a","versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false}],"deleted_at":null,"created_at":"2018-05-30T15:03:51Z","comment":"","updated_at":"2018-05-30T15:03:51Z","id":"5A4gcUWcjdIRnDRbhtFNce"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['518'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:52 GMT'] - fastly-ratelimit-remaining: ['804'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:51 GMT'] + fastly-ratelimit-remaining: ['839'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4420-AMS'] - x-timer: ['S1527630352.659827,VS0,VE386'] + x-served-by: ['app-slwdc9051-SL, cache-fra19129-FRA'] + x-timer: ['S1527692631.847313,VS0,VE474'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:51Z","active":false,"number":1,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:51Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false}],"created_at":"2018-05-30T15:03:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:51Z","id":"5A4gcUWcjdIRnDRbhtFNce","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:51Z","active":false,"number":1,"service_id":"5A4gcUWcjdIRnDRbhtFNce","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:51Z","comment":"","acls":[],"backends":[],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[],"gzips":[],"headers":[],"healthchecks":[],"request_settings":[],"response_objects":[],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: accept-ranges: [bytes] age: ['0'] @@ -165,46 +166,70 @@ interactions: connection: [keep-alive] content-length: ['1113'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:52 GMT'] + date: ['Wed, 30 May 2018 15:03:51 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4421-AMS'] - x-timer: ['S1527630352.120383,VS0,VE397'] + x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA'] + x-timer: ['S1527692631.381583,VS0,VE152'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/1/clone + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/1/clone response: - body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false}'} + body: {string: !!python/unicode '{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['232'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:53 GMT'] - fastly-ratelimit-remaining: ['803'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:51 GMT'] + fastly-ratelimit-remaining: ['838'] + fastly-ratelimit-reset: ['1527696000'] + status: [200 OK] + vary: [Accept-Encoding] + via: [1.1 varnish, 1.1 varnish] + x-cache: ['MISS, MISS'] + x-cache-hits: ['0, 0'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692632.592770,VS0,VE199'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Content-Type: [application/json] + method: GET + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/domain + response: + body: {string: !!python/unicode '[]'} + headers: + accept-ranges: [bytes] + age: ['0'] + cache-control: [no-cache] + connection: [keep-alive] + content-length: ['2'] + content-type: [application/json] + date: ['Wed, 30 May 2018 15:03: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-ams4422-AMS'] - x-timer: ['S1527630353.590328,VS0,VE491'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692632.853192,VS0,VE121'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/domain + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/healthcheck response: body: {string: !!python/unicode '[]'} headers: @@ -214,21 +239,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:53 GMT'] + date: ['Wed, 30 May 2018 15:03:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4422-AMS'] - x-timer: ['S1527630353.171165,VS0,VE364'] + x-served-by: ['app-slwdc9051-SL, cache-fra19146-FRA'] + x-timer: ['S1527692632.033632,VS0,VE446'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/healthcheck + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/condition response: body: {string: !!python/unicode '[]'} headers: @@ -238,21 +263,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:54 GMT'] + date: ['Wed, 30 May 2018 15:03:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4149-AMS'] - x-timer: ['S1527630354.611668,VS0,VE406'] + x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA'] + x-timer: ['S1527692633.537419,VS0,VE166'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/condition + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/backend response: body: {string: !!python/unicode '[]'} headers: @@ -262,21 +287,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:54 GMT'] + date: ['Wed, 30 May 2018 15:03:52 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4438-AMS'] - x-timer: ['S1527630354.091188,VS0,VE117'] + x-served-by: ['app-slwdc9051-SL, cache-fra19128-FRA'] + x-timer: ['S1527692633.762613,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/backend + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/director response: body: {string: !!python/unicode '[]'} headers: @@ -286,21 +311,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:54 GMT'] + date: ['Wed, 30 May 2018 15:03:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4439-AMS'] - x-timer: ['S1527630354.282845,VS0,VE116'] + x-served-by: ['app-slwdc9051-SL, cache-fra19149-FRA'] + x-timer: ['S1527692633.947726,VS0,VE164'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/director + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/cache_settings response: body: {string: !!python/unicode '[]'} headers: @@ -310,21 +335,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:54 GMT'] + date: ['Wed, 30 May 2018 15:03:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630354.474851,VS0,VE112'] + x-served-by: ['app-slwdc9051-SL, cache-fra19135-FRA'] + x-timer: ['S1527692633.169192,VS0,VE385'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/cache_settings + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/gzip response: body: {string: !!python/unicode '[]'} headers: @@ -334,21 +359,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:55 GMT'] + date: ['Wed, 30 May 2018 15:03:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630355.665787,VS0,VE366'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692634.609792,VS0,VE167'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/gzip + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/header response: body: {string: !!python/unicode '[]'} headers: @@ -358,21 +383,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:55 GMT'] + date: ['Wed, 30 May 2018 15:03:53 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4128-AMS'] - x-timer: ['S1527630355.106465,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692634.835531,VS0,VE125'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/header + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/request_settings response: body: {string: !!python/unicode '[]'} headers: @@ -382,21 +407,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:55 GMT'] + date: ['Wed, 30 May 2018 15:03:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4144-AMS'] - x-timer: ['S1527630355.298770,VS0,VE357'] + x-served-by: ['app-slwdc9051-SL, cache-fra19122-FRA'] + x-timer: ['S1527692634.019007,VS0,VE127'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/request_settings + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/response_object response: body: {string: !!python/unicode '[]'} headers: @@ -406,21 +431,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:55 GMT'] + date: ['Wed, 30 May 2018 15:03:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4146-AMS'] - x-timer: ['S1527630356.728987,VS0,VE110'] + x-served-by: ['app-slwdc9051-SL, cache-fra19133-FRA'] + x-timer: ['S1527692634.205668,VS0,VE409'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/response_object + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/snippet response: body: {string: !!python/unicode '[]'} headers: @@ -430,21 +455,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:56 GMT'] + date: ['Wed, 30 May 2018 15:03:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630356.908674,VS0,VE409'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692635.676416,VS0,VE117'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/snippet + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/logging/s3 response: body: {string: !!python/unicode '[]'} headers: @@ -454,21 +479,21 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:56 GMT'] + date: ['Wed, 30 May 2018 15:03:54 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4148-AMS'] - x-timer: ['S1527630356.391407,VS0,VE552'] + x-served-by: ['app-slwdc9051-SL, cache-fra19141-FRA'] + x-timer: ['S1527692635.853972,VS0,VE119'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/logging/s3 + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/logging/syslog response: body: {string: !!python/unicode '[]'} headers: @@ -478,97 +503,97 @@ interactions: connection: [keep-alive] content-length: ['2'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:57 GMT'] + date: ['Wed, 30 May 2018 15:03:55 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4132-AMS'] - x-timer: ['S1527630357.016630,VS0,VE291'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692635.033958,VS0,VE126'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"comment": "test1", "name": "cdn.example8000.com"}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/domain + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/domain response: - body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":2,"deleted_at":null,"created_at":"2018-05-29T21:45:57Z","updated_at":"2018-05-29T21:45:57Z"}'} + body: {string: !!python/unicode '{"comment":"test1","name":"cdn.example8000.com","service_id":"5A4gcUWcjdIRnDRbhtFNce","version":2,"deleted_at":null,"created_at":"2018-05-30T15:03:55Z","updated_at":"2018-05-30T15:03:55Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['188'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:57 GMT'] - fastly-ratelimit-remaining: ['802'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:55 GMT'] + fastly-ratelimit-remaining: ['837'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4138-AMS'] - x-timer: ['S1527630357.385644,VS0,VE534'] + x-served-by: ['app-slwdc9051-SL, cache-fra19130-FRA'] + x-timer: ['S1527692635.215300,VS0,VE255'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ssl_ca_cert": null, "request_condition": "", "name": "localhost", "weight": 100, "healthcheck": null, "first_byte_timeout": 15000, - "connect_timeout": 1000, "error_threshold": 0, "ssl_cert_hostname": null, "address": - "127.0.0.1", "between_bytes_timeout": 10000, "max_conn": 200, "port": 80, "ssl_hostname": + "error_threshold": 0, "port": 80, "ssl_cert_hostname": null, "address": "127.0.0.1", + "between_bytes_timeout": 10000, "max_conn": 200, "connect_timeout": 1000, "ssl_hostname": null, "shield": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/backend + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/backend response: - body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"connect_timeout":1000,"error_threshold":0,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"port":80,"ssl_hostname":null,"shield":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-29T21:45:58Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-29T21:45:58Z","comment":""}'} + body: {string: !!python/unicode '{"ssl_ca_cert":null,"request_condition":"","name":"localhost","weight":100,"healthcheck":null,"first_byte_timeout":15000,"error_threshold":0,"port":80,"ssl_cert_hostname":null,"address":"127.0.0.1","between_bytes_timeout":10000,"max_conn":200,"connect_timeout":1000,"ssl_hostname":null,"shield":null,"service_id":"5A4gcUWcjdIRnDRbhtFNce","version":2,"max_tls_version":null,"ssl_client_cert":null,"hostname":null,"client_cert":null,"updated_at":"2018-05-30T15:03:55Z","ipv4":"127.0.0.1","ssl_ciphers":null,"ssl_client_key":null,"auto_loadbalance":false,"ssl_check_cert":true,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"deleted_at":null,"use_ssl":false,"created_at":"2018-05-30T15:03:55Z","comment":""}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['716'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:58 GMT'] - fastly-ratelimit-remaining: ['801'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:55 GMT'] + fastly-ratelimit-remaining: ['836'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4443-AMS'] - x-timer: ['S1527630358.995121,VS0,VE434'] + x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA'] + x-timer: ['S1527692636.533108,VS0,VE458'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"ignore_if_set": "0", "regex": "", "request_condition": null, "name": "Set Location header", "src": "\"https://u.jimcdn.com\" req.url.path", - "dst": "http.Location", "substitution": "", "priority": "10", "cache_condition": - null, "action": "set", "type": "response", "response_condition": null}' + "dst": "http.Location", "cache_condition": null, "priority": "10", "substitution": + "", "action": "set", "type": "response", "response_condition": null}' headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/header + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/header response: body: {string: !!python/unicode '{"ignore_if_set":"0","regex":"","request_condition":null,"name":"Set - Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","substitution":"","priority":"10","cache_condition":null,"action":"set","type":"response","response_condition":null,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"2","updated_at":"2018-05-29T21:45:58Z","deleted_at":null,"created_at":"2018-05-29T21:45:58Z"}'} + Location header","src":"\"https://u.jimcdn.com\" req.url.path","dst":"http.Location","cache_condition":null,"priority":"10","substitution":"","action":"set","type":"response","response_condition":null,"service_id":"5A4gcUWcjdIRnDRbhtFNce","version":"2","updated_at":"2018-05-30T15:03:56Z","deleted_at":null,"created_at":"2018-05-30T15:03:56Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['412'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:58 GMT'] - fastly-ratelimit-remaining: ['800'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:56 GMT'] + fastly-ratelimit-remaining: ['835'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4151-AMS'] - x-timer: ['S1527630359.551939,VS0,VE437'] + x-served-by: ['app-slwdc9051-SL, cache-fra19142-FRA'] + x-timer: ['S1527692636.049932,VS0,VE451'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"status": "302", "request_condition": "", "name": "Set @@ -576,60 +601,60 @@ interactions: headers: Content-Type: [application/json] method: POST - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/response_object + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/response_object response: body: {string: !!python/unicode '{"status":"302","request_condition":"","name":"Set - 302 status code","content":"","content_type":"","response":"Ok","service_id":"57Y1hKLhUxDEk5fr6QHM8L","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-29T21:45:59Z","updated_at":"2018-05-29T21:45:59Z"}'} + 302 status code","content":"","content_type":"","response":"Ok","service_id":"5A4gcUWcjdIRnDRbhtFNce","version":"2","deleted_at":null,"cache_condition":"","created_at":"2018-05-30T15:03:56Z","updated_at":"2018-05-30T15:03:56Z"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['278'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:45:59 GMT'] - fastly-ratelimit-remaining: ['799'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:56 GMT'] + fastly-ratelimit-remaining: ['834'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4440-AMS'] - x-timer: ['S1527630359.064093,VS0,VE444'] + x-served-by: ['app-slwdc9051-SL, cache-fra19137-FRA'] + x-timer: ['S1527692637.561508,VS0,VE159'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"general.default_ttl": 3600}' headers: Content-Type: [application/json] method: PUT - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/version/2/settings + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/version/2/settings response: - body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"57Y1hKLhUxDEk5fr6QHM8L"}'} + body: {string: !!python/unicode '{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"version":2,"general.default_host":"","general.default_pci":0,"service_id":"5A4gcUWcjdIRnDRbhtFNce"}'} headers: accept-ranges: [bytes] cache-control: [no-cache] connection: [keep-alive] content-length: ['194'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:00 GMT'] - fastly-ratelimit-remaining: ['798'] - fastly-ratelimit-reset: ['1527631200'] + date: ['Wed, 30 May 2018 15:03:57 GMT'] + fastly-ratelimit-remaining: ['833'] + fastly-ratelimit-reset: ['1527696000'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4451-AMS'] - x-timer: ['S1527630360.582792,VS0,VE491'] + x-served-by: ['app-slwdc9051-SL, cache-fra19140-FRA'] + x-timer: ['S1527692637.777350,VS0,VE454'] status: {code: 200, message: OK} - request: body: null headers: Content-Type: [application/json] method: GET - uri: https://api.fastly.com/service/57Y1hKLhUxDEk5fr6QHM8L/details + uri: https://api.fastly.com/service/5A4gcUWcjdIRnDRbhtFNce/details response: - body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","staging":false,"created_at":"2018-05-29T21:45:52Z","deleted_at":null,"comment":"","updated_at":"2018-05-29T21:45:59Z","deployed":false}],"created_at":"2018-05-29T21:45:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-29T21:45:51Z","id":"57Y1hKLhUxDEk5fr6QHM8L","version":{"testing":false,"staging":false,"updated_at":"2018-05-29T21:45:59Z","active":false,"number":2,"service_id":"57Y1hKLhUxDEk5fr6QHM8L","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-29T21:45:52Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" + body: {string: !!python/unicode '{"name":"Jimdo Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:51Z","deployed":false},{"testing":false,"locked":false,"number":2,"active":false,"service_id":"5A4gcUWcjdIRnDRbhtFNce","staging":false,"created_at":"2018-05-30T15:03:51Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:03:56Z","deployed":false}],"created_at":"2018-05-30T15:03:51Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T15:03:51Z","id":"5A4gcUWcjdIRnDRbhtFNce","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:03:56Z","active":false,"number":2,"service_id":"5A4gcUWcjdIRnDRbhtFNce","deployed":false,"locked":false,"deleted_at":null,"created_at":"2018-05-30T15:03:51Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"test1","name":"cdn.example8000.com"}],"gzips":[],"headers":[{"priority":"10","src":"\"https://u.jimcdn.com\" req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"302","response":"Ok","name":"Set 302 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":null}'} headers: @@ -639,13 +664,13 @@ interactions: connection: [keep-alive] content-length: ['2376'] content-type: [application/json] - date: ['Tue, 29 May 2018 21:46:00 GMT'] + date: ['Wed, 30 May 2018 15:03:57 GMT'] status: [200 OK] vary: [Accept-Encoding] via: [1.1 varnish, 1.1 varnish] x-cache: ['MISS, MISS'] x-cache-hits: ['0, 0'] - x-served-by: ['app-slwdc9051-SL, cache-ams4145-AMS'] - x-timer: ['S1527630360.148934,VS0,VE187'] + x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA'] + x-timer: ['S1527692637.289309,VS0,VE147'] status: {code: 200, message: OK} version: 1 diff --git a/tests/test_fastly_s3s.py b/tests/test_fastly_logging_s3.py similarity index 98% rename from tests/test_fastly_s3s.py rename to tests/test_fastly_logging_s3.py index 2386a01..e84e6fa 100644 --- a/tests/test_fastly_s3s.py +++ b/tests/test_fastly_logging_s3.py @@ -8,7 +8,7 @@ sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'library')) from fastly_service import FastlyConfiguration -class TestFastlyS3s(TestCommon): +class TestFastlyLoggingS3(TestCommon): @TestCommon.vcr.use_cassette() def test_fastly_s3s(self): diff --git a/tests/test_fastly_logging_syslog.py b/tests/test_fastly_logging_syslog.py new file mode 100644 index 0000000..0bec715 --- /dev/null +++ b/tests/test_fastly_logging_syslog.py @@ -0,0 +1,72 @@ +#!/usr/bin/env python +import os +import unittest +import sys + +from test_common import TestCommon + +sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'library')) +from fastly_service import FastlyConfiguration + +class TestFastlyLoggingSyslog(TestCommon): + + @TestCommon.vcr.use_cassette() + def test_fastly_logging_syslog(self): + logging_configuration = self.minimal_configuration.copy() + logging_configuration.update({ + 'syslogs': [{ + 'name': 'test_syslog', + 'address': 'syslog.example.com', + 'port': 514, + 'use_tls': 0, + 'token': '[abc 123]', + 'format': '%h %l %u %t "%r" %>s %b', + }], + }) + + configuration = FastlyConfiguration(logging_configuration) + service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, configuration).service + + svc_conf = service.active_version.configuration + + self.assertEqual(svc_conf.syslogs[0].hostname, 'syslog.example.com'), + self.assertEqual(svc_conf.syslogs[0].response_condition, None), + self.assertEqual(svc_conf.syslogs[0].address, 'syslog.example.com'), + self.assertEqual(svc_conf.syslogs[0].message_type, 'classic'), + self.assertEqual(svc_conf.syslogs[0].name, 'test_syslog'), + self.assertEqual(svc_conf.syslogs[0].port, 514), + self.assertEqual(svc_conf.syslogs[0].use_tls, 0), + self.assertEqual(svc_conf.syslogs[0].token, '[abc 123]'), + self.assertEqual(svc_conf.syslogs[0].format, '%h %l %u %t "%r" %>s %b'), + + self.assertEqual(svc_conf, configuration) + + active_version_number = service.active_version.number + service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, configuration).service + self.assertEqual(service.active_version.number, active_version_number) + + @TestCommon.vcr.use_cassette() + def test_fastly_logging_syslog_remove(self): + logging_configuration = self.minimal_configuration.copy() + logging_configuration.update({ + 'syslogs': [{ + 'name': 'test_syslog', + 'address': 'syslog.example.com', + 'port': 514, + }], + }) + configuration = FastlyConfiguration(logging_configuration) + + # Configure with logging + self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, configuration).service + + # Now apply a configuration without logging + service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, FastlyConfiguration(self.minimal_configuration.copy())).service + svc_conf = service.active_version.configuration + + self.assertEqual(svc_conf.syslogs, []) + + +if __name__ == '__main__': + unittest.main() + diff --git a/tests/test_fastly_service.py b/tests/test_fastly_service.py index a7d9775..226eacc 100644 --- a/tests/test_fastly_service.py +++ b/tests/test_fastly_service.py @@ -130,11 +130,11 @@ def test_service_does_exist_and_activate_new_version_is_disabled(self): old_configuration = FastlyConfiguration(self.configuration_fixture) new_configuration = FastlyConfiguration(new_configuration) - old_service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, old_configuration, False).service + old_service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, old_configuration, True).service new_service = self.enforcer.apply_configuration(self.FASTLY_TEST_SERVICE, new_configuration, False).service - self.assertNotEqual(old_service.latest_version.configuration.response_objects, new_service.latest_version.configuration.response_objects) self.assertNotEqual(old_service.latest_version.number, new_service.latest_version.number) + self.assertNotEqual(old_service.latest_version.configuration.response_objects, new_service.latest_version.configuration.response_objects) self.assertFalse(new_service.latest_version.active)